Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultFormatLayout = "2006-01-02 15:04:05" DefaultTagName = "dateFormat" DefaultTagValue = "default" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DateParseTag ¶
type DateParseTag interface {
Parse(in, out interface{})
}
func NewDateParseTag ¶
func NewDateParseTag(opts ...Options) DateParseTag
type Options ¶
type Options func(dp *dateParseTag)
func WithDefaultFormat ¶
func WithDefaultTagValue ¶
func WithEmptyValue ¶
func WithTagName ¶
Click to show internal directories.
Click to hide internal directories.