Documentation ¶
Index ¶
- func ConvertTimes(times []Time) []time.Time
- func InByOffset(t time.Time, offset int) time.Time
- func TTime0() time.Time
- type Int64
- type Time
- func (t Time) InByOffset(offset int) Time
- func (t *Time) IsNotNull() bool
- func (t *Time) IsNull() bool
- func (t Time) MarshalGQL(w io.Writer)
- func (t Time) MarshalJSON() ([]byte, error)
- func (t Time) String() string
- func (t Time) ToTime() time.Time
- func (t *Time) UnmarshalGQL(v string) error
- func (t *Time) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Int64 ¶
type Int64 int64
func (Int64) MarshalGQL ¶
MarshalGQL implements the graphql.Marshaler interface
func (Int64) MarshalJSON ¶
func (*Int64) UnmarshalGQL ¶
UnmarshalGQL implements the graphql.Marshaler interface
func (*Int64) UnmarshalJSON ¶
type Time ¶
func (Time) MarshalGQL ¶
MarshalGQL implements the graphql.Marshaler interface
func (Time) MarshalJSON ¶
func (*Time) UnmarshalGQL ¶
UnmarshalGQL implements the graphql.Marshaler interface
func (*Time) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.