├── .gitignore ├── .ignore ├── README.md ├── assets ├── embed.go ├── public │ └── html │ │ ├── footer.tmpl │ │ ├── index.html │ │ └── navbar.tmpl └── static │ └── style.css ├── check.sh ├── common ├── common.go ├── config.go └── timeago.go ├── config.toml ├── data ├── data.go ├── main.go └── models.go ├── gitleaks.toml ├── go.mod ├── go.sum ├── handlers ├── healthcheck.go ├── helper.go ├── index.go ├── route.go └── template.go ├── main.go ├── service ├── mapcache.go └── service.go └── unique_code.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/.gitignore -------------------------------------------------------------------------------- /.ignore: -------------------------------------------------------------------------------- 1 | vendor -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/README.md -------------------------------------------------------------------------------- /assets/embed.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/assets/embed.go -------------------------------------------------------------------------------- /assets/public/html/footer.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/assets/public/html/footer.tmpl -------------------------------------------------------------------------------- /assets/public/html/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/assets/public/html/index.html -------------------------------------------------------------------------------- /assets/public/html/navbar.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/assets/public/html/navbar.tmpl -------------------------------------------------------------------------------- /assets/static/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/assets/static/style.css -------------------------------------------------------------------------------- /check.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/check.sh -------------------------------------------------------------------------------- /common/common.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/common/common.go -------------------------------------------------------------------------------- /common/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/common/config.go -------------------------------------------------------------------------------- /common/timeago.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/common/timeago.go -------------------------------------------------------------------------------- /config.toml: -------------------------------------------------------------------------------- 1 | [logs] 2 | level = "info" 3 | 4 | [server] 5 | http_port = 8080 -------------------------------------------------------------------------------- /data/data.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/data/data.go -------------------------------------------------------------------------------- /data/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/data/main.go -------------------------------------------------------------------------------- /data/models.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/data/models.go -------------------------------------------------------------------------------- /gitleaks.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/gitleaks.toml -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/go.sum -------------------------------------------------------------------------------- /handlers/healthcheck.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/handlers/healthcheck.go -------------------------------------------------------------------------------- /handlers/helper.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/handlers/helper.go -------------------------------------------------------------------------------- /handlers/index.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/handlers/index.go -------------------------------------------------------------------------------- /handlers/route.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/handlers/route.go -------------------------------------------------------------------------------- /handlers/template.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/handlers/template.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/main.go -------------------------------------------------------------------------------- /service/mapcache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/service/mapcache.go -------------------------------------------------------------------------------- /service/service.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/service/service.go -------------------------------------------------------------------------------- /unique_code.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/boyter/go-http-template/HEAD/unique_code.py --------------------------------------------------------------------------------