package
2.27.0+incompatible
Repository: https://github.com/aden-q/short-url.git
Documentation: pkg.go.dev

# Functions

CompileURLRegex compiles the regex for validating url.
ValidateLongURL validates a long url, return true if valid longURL should be a legal http/https url.
ValidateShortURL validates a short url, return true if valid shortURL should be a legal base62 string.

# Structs

Model is the common database model specification.
URL is the model for the Url table.