aboutsummaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue5614.dir/rethinkgo.go
blob: 4ae66d679ea59fc47c07fe7c2b2ad6dd334d5382 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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}}
}