Documentation ¶
Index ¶
- func CreateURL(longURL, shortURL string) (int64, error)
- func DeleteURL(column, value string) error
- func IncrementUsage(shortURL string) (bool, error)
- func NewDB(dataSourceName string) (*sql.DB, error)
- func PingDB(db *sql.DB) bool
- func UpdateURL(column, value, newLongURL string) (string, error)
- func UseURL(column, value string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IncrementUsage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.