package
0.0.0-20240515134008-560e072f64ae
Repository: https://github.com/igorsteps/easypark.git
Documentation: pkg.go.dev
# Functions
NewAlertPostgresRepository returns a new instance of AlertPostgresRepository.
No description provided by the author
NewNotificationPostgresRepository returns a new instance of NotificationPostgresRepository.
NewParkingParkingLotPostgresRepository returns a new instance of ParkingLotPostgresRepository.
NewParkingRequestPostgresRepository retuns new ParkingRequestPostgresRepository.
NewParkingSpacePostgresRepository returns a new instance of ParkingSpacePostgresRepository.
NewUserPostgresRepository retuns new UserPostgresRepository.
# Constants
Error code to signify that a unique contraint has been violated.
# Structs
AlertPostgresRepository implements AlertRepository interface to provide database operations on Alerts.
No description provided by the author
NotificationPostgresRepository implements NotificationRepository interface to provide database operation on notifications.
ParkingLotPostgresRepository implements PakringLotRepository interface to provide database operation on parking lots.
ParkingRequestPostgresRepository implements ParkingRequestPostgresRepository interface to provide database operation on Parking Requests.
ParkingSpacePostgresRepository implements ParkingSpaceRepository interface to provide database operation on ParkingSpaces.
UserPostgresRepository implements UserRepository interface to provide database operation on Users.
# Interfaces
Datastore defines the interface that abstracts data storage/access implementations.