package
0.0.0-20250206101203-bd6683890685
Repository: https://github.com/dockerian/go-coding.git
Documentation: pkg.go.dev

# Functions

GetCityRegulation returns a city regulation.
New create a Parking instance with capacity, levels, and groundLevels.
NewBuilder returns a parking builder.

# Constants

CARPOOLPERCENT specifies percentage of carpool spots.
COMPACTPERCENT specifies percentage of compact spots.
DEFAULTCAPACITY specifies minimum total capacity for a parking garage.
DEFAULTGROUNDLEVELS specifies minimum number of ground levels.
DEFAULTHANDICAPPERCENT sepcifies percentage of handicap spots.
DEFAULTLEVELS specifies minimum number of parking garage levels.

# Structs

Builder struct.
CityRegulation implements IParkingRegulation.
Parking struct.
Spot struct.

# Interfaces

IParkingRegulation interface.