Documentation ¶
Overview ¶
Package shared contains share coding that works between front and backend code
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandString ¶
RandString generates a set of random numbers of a set length
Types ¶
type CustomError ¶
type CustomError struct {
// contains filtered or unexported fields
}
CustomError provides a custom error message format using a message pattern 'title: message'
func NewCustomError ¶
func NewCustomError(title, mesg string) CustomError
NewCustomError provides a function instance generator
func (CustomError) String ¶
func (c CustomError) String() string
String returns the message of the CustomError struct
Click to show internal directories.
Click to hide internal directories.