package
0.0.0-20240619012236-d6a9b844274a
Repository: https://github.com/nawaltni/tracker.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
MigrateUp runs migrations.
NewClient starts a connection with db using gorm.
NewRepositories creates new repositories.
NewUserPositionRepository creates a new instance of a GORM-based user position repository.
ToDomainUserPosition converts a postgres UserPosition to a domain UserPosition.
ToModelUserPosition converts a domain UserPosition to a postgres UserPosition.
# Structs
Client enables a connection to a postgres db.
No description provided by the author
No description provided by the author
Repositories contains all repositories of the application.
No description provided by the author
UserPositionRepository is the GORM implementation of the UserPositionRepository.