1
0
mirror of https://github.com/golang/go synced 2024-11-13 20:20:30 -07:00
go/test/fixedbugs/issue5614.dir/rethinkgo.go

17 lines
255 B
Go
Raw Normal View History

package rethinkgo
type Session struct {
}
func (s *Session) Run(query Exp) *int { return nil }
type List []interface{}
type Exp struct {
args []interface{}
}
func (e Exp) UseOutdated(useOutdated bool) Exp {
return Exp{args: List{e, useOutdated}}
}