package
1.3.0
Repository: https://github.com/momeni/clean-arch.git
Documentation: pkg.go.dev

# Functions

ParseParkingMode parses the given string and returns a ParkingMode, helping to deserialize it when reading a REST API request.

# Constants

zero value is invalid.
new method parks the car with no delay.
old method incurs more delay.

# Variables

ErrUnknownParkingMode indicates that a given string may not be parsed as a valid/known parking mode.

# Structs

Car models a car which may be persisted in a database.
Coordinate represents a geographical location with a latitude and longitude.
ImmutableSettings contains settings which are immutable (and can be configured only using the configuration file or environment variables alone), but are visible by end-users (settings must be at least visible or mutable, otherwise, they may not be called a setting).
ParkingMethodSettings represents the old parking method related settings.
Settings contains those settings which are mutable & invisible, that is, write-only settings.
VisibleSettings contains settings which are visible by end-users.

# Type aliases

ParkingMode specifies the parking mode enum and accepts two old and new methods.
ParkingModeError indicates an invalid parking mode.
SemVer represents a released semantic version, consisting of three components.