Documentation
¶
Index ¶
- func BeginGormTx() *gorm.DB
- func InitGorm(host string, port int64, user, password, db_name string) (err error)
- func NewGormSession() *gorm.DB
- func ReadFileBytes(filePath string) ([]byte, error)
- func ReadFileHash(data []byte) (string, error)
- func ValidateJsonUnmarshal(data []byte, v any) error
- func ValidateStruct(v any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BeginGormTx ¶
func NewGormSession ¶
func ReadFileBytes ¶
func ReadFileHash ¶
func ValidateJsonUnmarshal ¶
func ValidateStruct ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.