modernc.org/gc@v1.0.1-0.20240304020402-f0dba7c97c2b/testdata/errchk/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 }