Documentation ¶
Index ¶
- Variables
- func Connect(args *Config)
- func Destroy() error
- func NewLogger() logger.Interface
- func OrderSafe(data string) error
- type Config
- type Logger
- func (l Logger) Error(ctx context.Context, msg string, args ...any)
- func (l Logger) Info(ctx context.Context, msg string, args ...any)
- func (l Logger) LogMode(level logger.LogLevel) logger.Interface
- func (l Logger) Trace(ctx context.Context, begin time.Time, fn func() (string, int64), err error)
- func (l Logger) Warn(ctx context.Context, msg string, args ...any)
Constants ¶
This section is empty.
Variables ¶
View Source
var Db *gorm.DB
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.