package reql_tests
import "github.com/dancannon/gorethink/internal/reql_tests"
Index ¶
- Variables
- func PacificTimeZone() *time.Location
- func UTCTimeZone() *time.Location
- type Err
- type Expected
Variables ¶
var Ast = struct { RqlTzinfo func(tz string) *time.Location Fromtimestamp func(ts float64, loc *time.Location) time.Time Now func() time.Time }{ func(tz string) *time.Location { t, _ := time.Parse("-07:00 UTC", tz+" UTC") return t.Location() }, func(ts float64, loc *time.Location) time.Time { sec, nsec := math.Modf(ts) return time.Unix(int64(sec), int64(nsec*1000)*1000000).In(loc) }, time.Now, }
var FloatInfo = struct { Min, Max float64 }{math.SmallestNonzeroFloat64, math.MaxFloat64}
Functions ¶
func PacificTimeZone ¶
func UTCTimeZone ¶
Types ¶
type Err ¶
type Expected ¶
Source Files ¶
- Version
- v3.0.5+incompatible (latest)
- Published
- Sep 28, 2017
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 1 week ago –
Tools for package owners.