Documentation ¶
Index ¶
- func DbErr(err error) bool
- func DbErrValid(err error) (bool, bool)
- func DbTxCommit(ctx context.Context, tx *pgxpool.Tx) bool
- func DbTxErr(ctx context.Context, tx *pgxpool.Tx, err error) bool
- func DbTxRollback(ctx context.Context, tx *pgxpool.Tx)
- func Debug(format string, args ...interface{})
- func IsDbErr(err error) bool
- func LogClose(ct context.Context, wg *sync.WaitGroup)
- func LogErr(err error)
- func LogMsg(msg string) *dbLog
- func NewLog(cfg *config.Loger, pdb *pgxpool.Pool) error
- type Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DbErrValid ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.