Documentation ¶
Index ¶
Constants ¶
View Source
const DescriptionMaxCharactersLength = "100"
View Source
const DescriptionMinCharactersLength = "1"
View Source
const FilenameMaxCharactersLength = "50"
View Source
const FilenameMinCharactersLength = "1"
Variables ¶
View Source
var InvalidDescriptionValue = errors.InvalidValue{Message: "Description must be between " + DescriptionMinCharactersLength + " to " + DescriptionMaxCharactersLength + " characters"}
View Source
var InvalidFilenameValue = errors.InvalidValue{Message: "Filename must be between " + FilenameMinCharactersLength + " to " + FilenameMaxCharactersLength + " characters"}
View Source
var InvalidFilepathValue = errors.InvalidValue{Message: "Filepath Invalid"}
Functions ¶
This section is empty.
Types ¶
type Description ¶
type Description struct {
Value string
}
func NewDescription ¶
func NewDescription(description string) *Description
Click to show internal directories.
Click to hide internal directories.