You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
255 B
17 lines
255 B
7 months ago
|
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}}
|
||
|
}
|