Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetectGoType ¶
Types ¶
type Decl ¶
type Decl struct { Name string Code string Format string LogLevelEnable bool LogLevel reguerr.Level StatusCodeEnable bool StatusCode int DisableErr bool Labels []Label CallBuild bool // contains filtered or unexported fields }
func (Decl) MessageIsErrTemplate ¶ added in v0.7.3
func (Decl) MessageNewErrTemplate ¶ added in v0.7.3
type Option ¶ added in v0.6.1
type Option func(*Setting)
func DefaultErrorLevel ¶ added in v0.6.1
func DefaultStatusCode ¶ added in v0.6.1
type Setting ¶ added in v0.6.1
func NewSetting ¶ added in v0.6.1
func NewSetting() *Setting
func (Setting) EnableInit ¶ added in v0.6.1
func (Setting) IsOverwriteErrorLevel ¶ added in v0.6.1
func (Setting) IsOverwriteStatusCode ¶ added in v0.6.1
Click to show internal directories.
Click to hide internal directories.