mirror of
https://github.com/golang/go
synced 2024-11-26 17:07:09 -07:00
62891fb811
Fixes #5614. R=golang-dev CC=golang-dev https://golang.org/cl/9953044
17 lines
255 B
Go
17 lines
255 B
Go
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}}
|
|
}
|