package
0.10.7
Repository: https://github.com/xy-planning-network/trails.git
Documentation: pkg.go.dev

# Functions

Connect creates a database connection through GORM according to the connection config.
No description provided by the author
NewMockDatabaseService creates a new mock instance.
NewService hydrates the gorm database for the implementation struct methods.
WipeDB queries for all of the tables and then drops the data in this tables.

# Structs

CxnConfig holds connection information used to connect to a PostgreSQL database.
DatabaseServiceImpl satisfies the above DatabaseService interface.
Migration is used to hold the database key and function for creating the migration.
MockDatabaseService is a mock of DatabaseService interface.
MockDatabaseServiceMockRecorder is the mock recorder for MockDatabaseService.
PagedData is returned from the PagedByQuery method.

# Interfaces

DatabaseService sets up the interface to be used at the handler/middelware level.