- Организация кода в GO перевод Standard Package Layout fo GO at Medium.com (пример приложения, по шагам в несколько статей)
- Пример организации кода проекта - sourcegraph/thesrc - пример огранизации веб-приложения
- Автоматическая пересборка и перезапуск при изменении исходников
- Вывод ошибок автоматической пересборки с fresh в браузер (Gin Middleware)
- Doing CORS in Go with Gin and JSON https://skarlso.github.io/2016/02/02/doing-cors-in-go-with-gin-and-json/
- Build RESTful API service in golang using gin-gonic framework https://medium.com/@thedevsaddam/build-restful-api-service-in-golang-using-gin-gonic-framework-85b1a6e176f3
- Building a REST Service with Golang - Part 2 (Basic Webserver) https://stevenwhite.com/building-a-rest-service-with-golang-2/
- Go RESTful Application Starter Kit https://github.com/qiangxue/golang-restful-starter-kit
- Example of a 3-layer (frontend, API, datastore) Go web app (based on the code that powers https://sourcegraph.com) https://github.com/sourcegraph/thesrc
Обработка ошибок в запросах в Gin
Работа с SQL БД
- https://github.com/jmoiron/sqlx
- Модель базы данных не привязанная к конкретной БД (раз, два, три)
Готовые посредники обработки запросов для Gin (Middleware)
- https://github.com/gin-gonic/contrib (Collection of middlewares created by the community https://gin-gonic.github.io/gin/)
- Посмотри на https://github.com/urfave/cli