Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLogger
deprecated
func GetLogger() *zap.SugaredLogger
Deprecated: instead calling this method inject logger from wire
func IsErrNoRows ¶
Types ¶
type ApiError ¶
type ApiError struct { HttpStatusCode int `json:"-"` Code string `json:"code,omitempty"` InternalMessage string `json:"internalMessage,omitempty"` UserMessage interface{} `json:"userMessage,omitempty"` UserDetailMessage string `json:"userDetailMessage,omitempty"` }
func (*ApiError) ErrorfInternal ¶
default internals will be set
func (ApiError) ErrorfUser ¶
default user message will be set
Click to show internal directories.
Click to hide internal directories.