mxschmitt / golang-url-shortener

URL Shortener written in Golang using Bolt DB or Redis. Provides features such as Deletion, Expiration, OAuth and is of course Dockerizable.
https://so.sh0rt.cat
MIT License
283 stars 84 forks source link

Refactore project layout #109

Closed mxschmitt closed 6 years ago

mxschmitt commented 6 years ago

Refactore the project structure, so that the following structure will be used: https://github.com/golang-standards/project-layout

For questions, feel free to ask me.

Proposal:

static => web handlers, stores, util => internal main.go, main_test.go => cmd/golang-url-shortener/ Dockerfile*, docker-compose.yml => /build/ build/config.yaml => config/config.yaml build/bintray.json => config/bintray.json