package
1.0.1
Repository: https://github.com/peyuaa/segmentify.git
Documentation: pkg.go.dev

# Functions

NewSegments returns a new Segments struct.

# Constants

No description provided by the author

# Variables

ErrInternalServer is an error message returned when something goes wrong that do not depend on the user input We don't want to expose the details of the error to the user, instead we log it.

# Structs

GenericError is a generic error message returned by a server.
KeySegment is a key used for the Segment object in the context.
KeyUserSegments is a key used for UserSegments object in the context.
Segments is a struct that defines the handlers for the segments.
ValidationError is a collection of validation error messages.