database

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Datetime

type Datetime struct {
	carbon.Carbon
}

func (Datetime) MarshalJSON

func (c Datetime) MarshalJSON() ([]byte, error)

type WithTimestamps

type WithTimestamps struct {
	CreatedAt Datetime `gorm:"column:created_at;autoCreateTime;type:timestamp null" json:"created_at"`
	UpdatedAt Datetime `gorm:"column:updated_at;autoUpdateTime;type:timestamp null" json:"updated_at"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL