package
1.1.1
Repository: https://github.com/mdanialr/pwman_backend.git
Documentation: pkg.go.dev

# Functions

NewGorm init new GORM using postgresql as the db and given viper config to get detailed information about the db such as host, port, username etc.
WithCustomLogger use the given logger implementation as GORM logger.
WithDisableForeignKeyWhenMigrating disable foreign key constraint when using GORM's migration.
WithDisableNestedTrx disable default nested transaction.
WithPrepareStatement enable prepared statement for GORM.
WithSingularTableName set all tables name to singular.
WithSkipDefaultTrx skip default transaction.

# Type aliases

No description provided by the author