Documentation ¶
Overview ¶
Package library contains helper functions
Index ¶
Constants ¶
View Source
const TimeLayout = "2006-01-02T15:04:05.000Z"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datetime ¶
type Datetime struct {
// contains filtered or unexported fields
}
func NewDatetimeFromTime ¶
func (Datetime) MarshalGQL ¶
func (*Datetime) UnmarshalGQL ¶
type JSONString ¶
type JSONString string
func (JSONString) MarshalGQL ¶
func (qs JSONString) MarshalGQL(w io.Writer)
func (*JSONString) UnmarshalGQL ¶
func (qs *JSONString) UnmarshalGQL(vi interface{}) (err error)
type QuotedString ¶
type QuotedString string
func (QuotedString) MarshalGQL ¶
func (qs QuotedString) MarshalGQL(w io.Writer)
func (*QuotedString) UnmarshalGQL ¶
func (qs *QuotedString) UnmarshalGQL(vi interface{}) (err error)
Click to show internal directories.
Click to hide internal directories.