//
pkg.gl
Category
github.com/workman-tw/go-utils
gorm
postgres
package
0.0.6
Repository:
https://github.com/workman-tw/go-utils.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
3
Dependents
0
Files
103 SLOC
#
Functions
HandleTransaction
HandleTransaction - if an error occurred, rollback a subset of operations.
New
New - new postgres instance.
Rollback
Rollback - handle rollback error.
#
Structs
Config
Config - PostgreSQL DB's config.
Postgres
Postgres - db instance.