From a79499018bed35bab05f888ce0103b37655e2852 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Wed, 11 Dec 2024 01:21:22 +0300 Subject: Auto-commit 2024-12-11 --- content/go/framework.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 content/go/framework.md (limited to 'content/go/framework.md') 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 +``` -- cgit v1.2.3