Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateRecord ¶
func CreateTable ¶
func GetAllRecords ¶
func GetConnection ¶
Types ¶
type APIModelConfig ¶
type APIModelConfig struct { SID int32 `json:"sid" gorm:"type:int"` AppID string `json:"app_id" gorm:"type:varchar(32)"` API string `json:"api" gorm:"type:varchar(64)"` ModelConfig interface{} `json:"model_config" gorm:"type:jsonb"` EnvConfig interface{} `json:"env_config" gorm:"type:jsonb"` Status bool `json:"status" gorm:"type:bool"` CreatedAt time.Time `json:"created_at" gorm:"type:timestamp"` UpdatedAt time.Time `json:"updated_at" gorm:"type:timestamp"` }
APIModelConfig Table 2
type AppConfig ¶
type AppConfig struct { AppID string `json:"app_id" gorm:"type:varchar(32)"` Status bool `json:"status" gorm:"type:bool"` CreatedAt time.Time `json:"created_at" gorm:"type:timestamp"` UpdatedAt time.Time `json:"updated_at" gorm:"type:timestamp"` }
AppConfig Table 1
type ModelConfig ¶
Click to show internal directories.
Click to hide internal directories.