Documentation ¶
Index ¶
- Constants
- func LogPanic(err error)
- func NewErrEmailFormat(email string) error
- func NewErrLoginFail(email string) error
- func NewErrPasswordFormat(password string) error
- func NewErrPathNameIsExist(path string, name string) error
- func NewErrPathNotDir(path string) error
- func NewErrPathNotExist(path string) error
- func NewErrPathNotFile(path string) error
- func NewErrUnauthorized(path string) error
- func NewErrUserEmailIsExist(email string) error
- func NewErrUserNameFormat(userName string) error
- func NewErrUserNameIsExist(name string) error
- func Panic(err error)
- func WrapErr(err error) error
- type Err
- type Logger
- func (log *Logger) Debug(args ...interface{})
- func (log *Logger) Destroy()
- func (log *Logger) Err(err error)
- func (log *Logger) Error(args ...interface{})
- func (log *Logger) Info(args ...interface{})
- func (log *Logger) Init()
- func (log *Logger) Maintain()
- func (log *Logger) Panic(args ...interface{})
- func (log *Logger) Warn(args ...interface{})
Constants ¶
View Source
const ( DebugLevel = iota InfoLevel WarnLevel ErrorLevel PanicLevel )
Variables ¶
This section is empty.
Functions ¶
func NewErrEmailFormat ¶
func NewErrLoginFail ¶
func NewErrPasswordFormat ¶
func NewErrPathNameIsExist ¶
func NewErrPathNotDir ¶
func NewErrPathNotExist ¶
func NewErrPathNotFile ¶
func NewErrUnauthorized ¶
func NewErrUserEmailIsExist ¶
func NewErrUserNameFormat ¶
func NewErrUserNameIsExist ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.