Versions in this module Expand all Collapse all v1 v1.1.0 Aug 2, 2019 Changes in this version + func Allow(key string) bool + type Database struct + func NewDatabase(ctx context.Context, db *sql.DB) (*Database, error) + func (d *Database) RunInTransaction(ctx context.Context, fn func(ctx context.Context, tx *sql.Tx) error) error + type Logger struct + func BuildLogger() *Logger + func (logger *Logger) Debug(v ...interface{}) + func (logger *Logger) Debugf(format string, v ...interface{}) + func (logger *Logger) Error(v ...interface{}) + func (logger *Logger) Errorf(format string, v ...interface{}) + func (logger *Logger) Info(v ...interface{}) + func (logger *Logger) Infof(format string, v ...interface{}) + func (logger *Logger) Panicln(v ...interface{}) + type LoggerClient struct + func NewLoggerClient() *LoggerClient + type Row interface + Scan func(dest ...interface{}) error