valueObject

package
v0.0.1-beta.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 3 Imported by: 0

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

type Filename

type Filename struct {
	Value string
}

func NewFilename

func NewFilename(filename string) *Filename

type Filepath

type Filepath struct {
	Value string
}

func NewFilepath

func NewFilepath(filepath string) *Filepath

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL