Documentation ¶
Index ¶
- func ConnectToDatabase() (*gorm.DB, error)
- type APIDate
- func (APIDate) GormDBDataType(db *gorm.DB, field *schema.Field) string
- func (APIDate) GormDataType() string
- func (ad APIDate) MarshalJSON() ([]byte, error)
- func (ad *APIDate) Scan(value interface{}) error
- func (ad *APIDate) UnmarshalJSON(b []byte) error
- func (ad APIDate) Value() (driver.Value, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToDatabase ¶
Types ¶
type APIDate ¶
func (APIDate) GormDBDataType ¶
GormDBDataType implements the schema.GormDBDataTypeInterface interface
func (APIDate) GormDataType ¶
GormDataType implements the gorm.GormDataTypeInterface interface
func (APIDate) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface
func (*APIDate) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.