Documentation ¶
Overview ¶
Package common is a package that contains common models used by all other packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct { // CreatedAt is a time when outer model was created. CreatedAt time.Time `json:"created_at" example:"2024-02-26T11:00:28.069911Z"` // UpdatedAt is a time when outer model was updated. UpdatedAt time.Time `json:"updated_at" example:"2024-02-26T11:01:28.069911Z"` // DeletedAt is a time when outer model was deleted. DeletedAt *time.Time `json:"deleted_at" example:"2024-02-26T11:02:28.069911Z"` // Metadata is a metadata map of outer model. Metadata map[string]interface{} `json:"metadata" swaggertype:"object,string" example:"key:value,key2:value2"` }
Model is a common model that contains common fields for all models (this is deprecated and will be removed in the future)
Click to show internal directories.
Click to hide internal directories.