Documentation
¶
Index ¶
- Constants
- func MarshalDateOnly(t time.Time) graphql.Marshaler
- func MarshalDateTime(t time.Time) graphql.Marshaler
- func MarshalTimeOnly(t time.Time) graphql.Marshaler
- func UnmarshalDateOnly(v interface{}) (time.Time, error)
- func UnmarshalDateTime(v interface{}) (time.Time, error)
- func UnmarshalTimeOnly(v interface{}) (time.Time, error)
Constants ¶
View Source
const DateOnlyFormat = time.DateOnly
View Source
const DateTimeFormat = DateOnlyFormat + "T" + TimeOnlyFormat
View Source
const TimeOnlyFormat = "15:04:05.000"
Variables ¶
This section is empty.
Functions ¶
func UnmarshalDateOnly ¶
func UnmarshalDateTime ¶
func UnmarshalTimeOnly ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.