github.com/likebike/go--@v0.0.0-20190911215757-0bd925d16e96/go/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  }