Documentation ¶
Index ¶
- type Date
- func (d Date) AddDate(years, months, days int) Date
- func (d Date) After(other Date) bool
- func (d Date) Before(other Date) bool
- func (d Date) Day() int
- func (d Date) DayString() string
- func (d Date) Equals(other Date) bool
- func (d Date) Format(format string) string
- func (d Date) Hash() (uint64, error)
- func (d Date) IsZero() bool
- func (d Date) MarshalDynamoDBAttributeValue() (types.AttributeValue, error)
- func (d Date) MarshalText() ([]byte, error)
- func (d Date) Month() time.Month
- func (d Date) MonthString() string
- func (d Date) String() string
- func (d Date) Time() time.Time
- func (d *Date) UnmarshalDynamoDBAttributeValue(av types.AttributeValue) error
- func (d *Date) UnmarshalText(text []byte) error
- func (d Date) Valid() bool
- func (d Date) Year() int
- func (d Date) YearString() string
- type FormatError
- type TimeOrDate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Date ¶
type Date struct {
// contains filtered or unexported fields
}
func (Date) MarshalDynamoDBAttributeValue ¶
func (d Date) MarshalDynamoDBAttributeValue() (types.AttributeValue, error)
func (Date) MarshalText ¶
func (Date) MonthString ¶ added in v0.671.0
func (*Date) UnmarshalDynamoDBAttributeValue ¶
func (d *Date) UnmarshalDynamoDBAttributeValue(av types.AttributeValue) error
func (*Date) UnmarshalText ¶
func (Date) YearString ¶ added in v0.671.0
type FormatError ¶
type FormatError string
func (FormatError) Error ¶
func (e FormatError) Error() string
Click to show internal directories.
Click to hide internal directories.