Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
NotFoundMsg = "Not found"
)
Functions ¶
This section is empty.
Types ¶
type ErrorMessage ¶
type ErrorMessage struct {
Message string `json:"message"`
}
func (*ErrorMessage) IsNotFound ¶
func (m *ErrorMessage) IsNotFound() bool
IsNotFound returns true/false whether the message is equal to "not found" or not
func (*ErrorMessage) String ¶
func (m *ErrorMessage) String() string
String converts ErrorMessage struct to human readable string
Click to show internal directories.
Click to hide internal directories.