package
0.0.0-20250221025053-c3ab81728e88
Repository: https://github.com/denglitong/golang.git
Documentation: pkg.go.dev
# Functions
ShowGORMConnectToMysql show GORM connecting to gormDB.
ShowGORMConnectToPostgreSQL show GORM connecting to PostgreSQL.
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
BlogEmbeddedModelFull equals to BlogEmbeddedModel.
No description provided by the author
BlogEmbeddedPrefixModelFull equals to BlogEmbeddedPrefixModel.
No description provided by the author
UserModelTrackingTimeUnix GORM use CreatedAt, UpdatedAt to track creating/updating time by convention, and GORM will set the current time (time.Now().Local()) when creating/updating if the fields are defined.
UserModelWithFieldTags Tags are optional to use when declaring models.
UserModelWithPermission allows you to change the field-level permission with tag, you can make a field to be read-only, write-only, create-only, update-only or ignored.