Documentation ¶
Index ¶
- Constants
- Variables
- type DBLogger
- func (l *DBLogger) Error(ctx context.Context, s string, args ...interface{})
- func (l *DBLogger) Info(ctx context.Context, s string, args ...interface{})
- func (l *DBLogger) LogMode(gormlogger.LogLevel) gormlogger.Interface
- func (l *DBLogger) Trace(ctx context.Context, begin time.Time, fc func() (string, int64), err error)
- func (l *DBLogger) Warn(ctx context.Context, s string, args ...interface{})
- type Details
- type Point
- type Query
Constants ¶
View Source
const (
// User const type
User user = ""
)
Variables ¶
View Source
var (
// JWT variable instance of intef
JWT intef = &wt{}
)
View Source
var (
// Validator var
Validator validate = &valid{}
)
Functions ¶
This section is empty.
Types ¶
type DBLogger ¶
DBLogger struct
func (*DBLogger) LogMode ¶
func (l *DBLogger) LogMode(gormlogger.LogLevel) gormlogger.Interface
LogMode func
type Details ¶
type Details struct { ID uint64 `json:"-" gorm:"primaryKey"` PointID uint64 `json:"-"` Point int `json:"point"` Description string `json:"description"` CreatedAt time.Time `json:"created_at"` // contains filtered or unexported fields }
Details struct
Click to show internal directories.
Click to hide internal directories.