package
0.0.0-20230606054129-132b6e43c709
Repository: https://github.com/calgorr/full-url_shortener.git
Documentation: pkg.go.dev

# Functions

AddLink inserts a new URL into the database.
AddUser inserts a new user into the database.
DeleteLink deletes a URL from the database based on its short URL.
GetLink retrieves a URL from the database based on its long URL.
GetLinkByShortURL retrieves a URL from the database based on its short URL.
GetUserByUsername retrieves a user from the database based on their username and password.
IncrementUsage increments the usage count for a URL in the database.