Documentation ¶
Index ¶
- Constants
- func NewDefaultLogger(logFile string, consoleLogLevel log.Level, fileLogLevel log.Level, ...) *log.Logger
- type ConsoleLoggerHook
- type DuplicateInsertionError
- type EmptyInputError
- type IneffectiveOperationError
- type NilInputError
- type NonExistentDependencyError
- type NonExistentPrimaryDataError
- type NopUpdaterError
Constants ¶
View Source
const ( // NOTE: This is the only format time marshaling supports, it is not configurable... DateFormat string = time.RFC3339 LogMessageEmptyInput = "Returning early after receiving empty input" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConsoleLoggerHook ¶
func (*ConsoleLoggerHook) Levels ¶
func (hook *ConsoleLoggerHook) Levels() []log.Level
type DuplicateInsertionError ¶ added in v0.6.0
type DuplicateInsertionError struct {
Inner error
}
func (DuplicateInsertionError) As ¶ added in v0.6.0
func (err DuplicateInsertionError) As(target any) bool
func (DuplicateInsertionError) Error ¶ added in v0.6.0
func (err DuplicateInsertionError) Error() string
func (DuplicateInsertionError) Is ¶ added in v0.6.0
func (err DuplicateInsertionError) Is(other error) bool
func (DuplicateInsertionError) Unwrap ¶ added in v0.6.0
func (err DuplicateInsertionError) Unwrap() error
type EmptyInputError ¶ added in v0.6.0
type EmptyInputError struct{}
func (EmptyInputError) As ¶ added in v0.6.0
func (err EmptyInputError) As(target any) bool
func (EmptyInputError) Error ¶ added in v0.6.0
func (err EmptyInputError) Error() string
func (EmptyInputError) Is ¶ added in v0.6.0
func (err EmptyInputError) Is(other error) bool
type IneffectiveOperationError ¶ added in v0.6.0
type IneffectiveOperationError struct {
Inner error
}
func (IneffectiveOperationError) As ¶ added in v0.6.0
func (err IneffectiveOperationError) As(target any) bool
func (IneffectiveOperationError) Error ¶ added in v0.6.0
func (err IneffectiveOperationError) Error() string
func (IneffectiveOperationError) Is ¶ added in v0.6.0
func (err IneffectiveOperationError) Is(other error) bool
func (IneffectiveOperationError) Unwrap ¶ added in v0.6.0
func (err IneffectiveOperationError) Unwrap() error
type NilInputError ¶ added in v0.6.0
type NilInputError struct {
BadFieldOrParameter string
}
func (NilInputError) As ¶ added in v0.6.0
func (err NilInputError) As(target any) bool
func (NilInputError) Error ¶ added in v0.6.0
func (err NilInputError) Error() string
func (NilInputError) Is ¶ added in v0.6.0
func (err NilInputError) Is(other error) bool
type NonExistentDependencyError ¶ added in v0.6.0
type NonExistentDependencyError struct {
Inner error
}
func (NonExistentDependencyError) As ¶ added in v0.6.0
func (err NonExistentDependencyError) As(target any) bool
func (NonExistentDependencyError) Error ¶ added in v0.6.0
func (err NonExistentDependencyError) Error() string
func (NonExistentDependencyError) Is ¶ added in v0.6.0
func (err NonExistentDependencyError) Is(other error) bool
func (NonExistentDependencyError) Unwrap ¶ added in v0.6.0
func (err NonExistentDependencyError) Unwrap() error
type NonExistentPrimaryDataError ¶ added in v0.6.0
type NonExistentPrimaryDataError struct{}
func (NonExistentPrimaryDataError) As ¶ added in v0.6.0
func (err NonExistentPrimaryDataError) As(target any) bool
func (NonExistentPrimaryDataError) Error ¶ added in v0.6.0
func (err NonExistentPrimaryDataError) Error() string
func (NonExistentPrimaryDataError) Is ¶ added in v0.6.0
func (err NonExistentPrimaryDataError) Is(other error) bool
type NopUpdaterError ¶ added in v0.6.0
type NopUpdaterError struct{}
func (NopUpdaterError) As ¶ added in v0.6.0
func (err NopUpdaterError) As(target any) bool
func (NopUpdaterError) Error ¶ added in v0.6.0
func (err NopUpdaterError) Error() string
func (NopUpdaterError) Is ¶ added in v0.6.0
func (err NopUpdaterError) Is(other error) bool
Click to show internal directories.
Click to hide internal directories.