package
0.0.0-20221221161611-a147a0293ee4
Repository: https://github.com/devbeast3800/golangapi.git
Documentation: pkg.go.dev
# Functions
AllUsers returns a slice of User (all users in users table).
UserCreate creates a user instance in the database.
UserDelete deletes a user instance from the database.
UserFind finds a user instance by ID in the database.
UserIndex => returns a slice of all users in the database.
UserUpdate Updates a user instance in the database.
# Structs
GenericResponse returns timestamp and status to user in JSON.
User represents a user instance.