github.com/reiver/go@v0.0.0-20150109200633-1d0c7792f172/test/fixedbugs/issue5614.dir/rethinkgo.go (about) 1 package rethinkgo 2 3 type Session struct { 4 } 5 6 func (s *Session) Run(query Exp) *int { return nil } 7 8 type List []interface{} 9 10 type Exp struct { 11 args []interface{} 12 } 13 14 func (e Exp) UseOutdated(useOutdated bool) Exp { 15 return Exp{args: List{e, useOutdated}} 16 }