Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertFileMetaToInfo ¶ added in v0.6.14
func ConvertImageMetaToInfo ¶ added in v0.6.14
Types ¶
type EmptynullString ¶
type EmptynullString string
func (*EmptynullString) Scan ¶
func (n *EmptynullString) Scan(value any) error
Scan implements the Scanner interface.
type FileMeta ¶ added in v0.6.14
type FileMeta struct { Path string `json:"path,omitempty"` ContentType string `json:"type,omitempty"` OriginalName string `json:"origin,omitempty"` Size int64 `json:"s,omitempty"` CreatedAt *time.Time `json:"crt,omitempty"` UpdatedAt *time.Time `json:"upd,omitempty"` }
type ImageMeta ¶ added in v0.6.14
type ImageMeta struct { Path string `json:"path,omitempty"` ContentType string `json:"type,omitempty"` OriginalName string `json:"origin,omitempty"` Width int32 `json:"w,omitempty"` Height int32 `json:"h,omitempty"` Size int64 `json:"s,omitempty"` CreatedAt *time.Time `json:"crt,omitempty"` UpdatedAt *time.Time `json:"upd,omitempty"` }
type ZeronullInt32 ¶
type ZeronullInt32 int32
func (*ZeronullInt32) Scan ¶
func (n *ZeronullInt32) Scan(value any) error
Scan implements the Scanner interface.
type ZeronullInt64 ¶
type ZeronullInt64 int64
func (*ZeronullInt64) Scan ¶
func (n *ZeronullInt64) Scan(value any) error
Scan implements the Scanner interface.
Click to show internal directories.
Click to hide internal directories.