Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Headers ¶
Headers is the embedded data-type for storing header values as a JSONB column in database
func (Headers) GormDBDataType ¶
GormDBDataType determines database column data type for Header type, implements GormDataTypeInterface. It returns JSONB type for Postgres, and JSON for mysql and sqlite
func (*Headers) Scan ¶
Scan deseralizes JSON value of Header column into Header struct. Implements sql.Scanner interface.
func (*Headers) UnmarshalJSON ¶
UnmarshalJSON handles case conversion of header keys
Click to show internal directories.
Click to hide internal directories.