Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Link ¶
type Link struct { OriginalLink string `db:"original_link"` ShortLink string Token string `db:"token"` ExpiresAt time.Time `db:"expires_at"` }
func (Link) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Link) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Link) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Link) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.