module
Version:
v0.0.0-...-7c907d4
Opens a new window with list of versions in this module.
Published: Oct 10, 2021
License: MIT
Opens a new window with license information.
README
¶

URL shortener
Launch migrations using docker
Before launching the command below, check DSN for correctness
docker run -v "$PWD"/migrations:/migrations \
--network host \
migrate/migrate:v4.14.1 \
-path=/migrations/ \
-database "postgres://shortener:123456789@localhost:5432/shortener?sslmode=disable" \
up
Directories
¶
cmd
|
|
server
Package main URL shortener API.
|
Package main URL shortener API. |
internal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
version
Package version contains global variables for app version, build date and commit.
|
Package version contains global variables for app version, build date and commit. |
Click to show internal directories.
Click to hide internal directories.