diff options
Diffstat (limited to 'content/go/framework.md')
-rw-r--r-- | content/go/framework.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/content/go/framework.md b/content/go/framework.md new file mode 100644 index 0000000..c1f9d9a --- /dev/null +++ b/content/go/framework.md @@ -0,0 +1,25 @@ ++++ +title = "API шаблон" +name = "framework" +repository = "https://git.neonxp.ru/framework.git" +description = "Базовый проект API" +gomod = true ++++ + +```sh +go install golang.org/x/tools/cmd/gonew@latest +gonew neonxp.ru/go/framework example.com/myproject +``` + +Запуск БД для разработки: + +```sh +make dev-infra-up +``` + +Миграция + +```sh +make init-dev +make migrate-dev +``` |