Files
moxa/stdlib/time.go
Marc Vertes 25adc35a3c Change representation of stdlib from interface{} to reflect.Value
This fixes problems due to storing binary symbols as interfaces{}
instead of concrete type, which confuses lookup functions to retrieve
methods etc. in reflect.
2018-08-28 03:12:28 +02:00

83 lines
4.1 KiB
Go

package stdlib
// Generated by 'goexports time'. Do not edit!
import (
"reflect"
"time"
)
func init() {
Value["time"] = map[string]reflect.Value{
"ANSIC": reflect.ValueOf(time.ANSIC),
"After": reflect.ValueOf(time.After),
"AfterFunc": reflect.ValueOf(time.AfterFunc),
"April": reflect.ValueOf(time.April),
"August": reflect.ValueOf(time.August),
"Date": reflect.ValueOf(time.Date),
"December": reflect.ValueOf(time.December),
"February": reflect.ValueOf(time.February),
"FixedZone": reflect.ValueOf(time.FixedZone),
"Friday": reflect.ValueOf(time.Friday),
"Hour": reflect.ValueOf(time.Hour),
"January": reflect.ValueOf(time.January),
"July": reflect.ValueOf(time.July),
"June": reflect.ValueOf(time.June),
"Kitchen": reflect.ValueOf(time.Kitchen),
"LoadLocation": reflect.ValueOf(time.LoadLocation),
"LoadLocationFromTZData": reflect.ValueOf(time.LoadLocationFromTZData),
"Local": reflect.ValueOf(time.Local),
"March": reflect.ValueOf(time.March),
"May": reflect.ValueOf(time.May),
"Microsecond": reflect.ValueOf(time.Microsecond),
"Millisecond": reflect.ValueOf(time.Millisecond),
"Minute": reflect.ValueOf(time.Minute),
"Monday": reflect.ValueOf(time.Monday),
"Nanosecond": reflect.ValueOf(time.Nanosecond),
"NewTicker": reflect.ValueOf(time.NewTicker),
"NewTimer": reflect.ValueOf(time.NewTimer),
"November": reflect.ValueOf(time.November),
"Now": reflect.ValueOf(time.Now),
"October": reflect.ValueOf(time.October),
"Parse": reflect.ValueOf(time.Parse),
"ParseDuration": reflect.ValueOf(time.ParseDuration),
"ParseInLocation": reflect.ValueOf(time.ParseInLocation),
"RFC1123": reflect.ValueOf(time.RFC1123),
"RFC1123Z": reflect.ValueOf(time.RFC1123Z),
"RFC3339": reflect.ValueOf(time.RFC3339),
"RFC3339Nano": reflect.ValueOf(time.RFC3339Nano),
"RFC822": reflect.ValueOf(time.RFC822),
"RFC822Z": reflect.ValueOf(time.RFC822Z),
"RFC850": reflect.ValueOf(time.RFC850),
"RubyDate": reflect.ValueOf(time.RubyDate),
"Saturday": reflect.ValueOf(time.Saturday),
"Second": reflect.ValueOf(time.Second),
"September": reflect.ValueOf(time.September),
"Since": reflect.ValueOf(time.Since),
"Sleep": reflect.ValueOf(time.Sleep),
"Stamp": reflect.ValueOf(time.Stamp),
"StampMicro": reflect.ValueOf(time.StampMicro),
"StampMilli": reflect.ValueOf(time.StampMilli),
"StampNano": reflect.ValueOf(time.StampNano),
"Sunday": reflect.ValueOf(time.Sunday),
"Thursday": reflect.ValueOf(time.Thursday),
"Tick": reflect.ValueOf(time.Tick),
"Tuesday": reflect.ValueOf(time.Tuesday),
"UTC": reflect.ValueOf(time.UTC),
"Unix": reflect.ValueOf(time.Unix),
"UnixDate": reflect.ValueOf(time.UnixDate),
"Until": reflect.ValueOf(time.Until),
"Wednesday": reflect.ValueOf(time.Wednesday),
}
Type["time"] = map[string]reflect.Type{
"Duration": reflect.TypeOf((*time.Duration)(nil)).Elem(),
"Location": reflect.TypeOf((*time.Location)(nil)).Elem(),
"Month": reflect.TypeOf((*time.Month)(nil)).Elem(),
"ParseError": reflect.TypeOf((*time.ParseError)(nil)).Elem(),
"Ticker": reflect.TypeOf((*time.Ticker)(nil)).Elem(),
"Time": reflect.TypeOf((*time.Time)(nil)).Elem(),
"Timer": reflect.TypeOf((*time.Timer)(nil)).Elem(),
"Weekday": reflect.TypeOf((*time.Weekday)(nil)).Elem(),
}
}