You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

github.com/valeragav/ms_layout

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/valeragav/ms_layout

v0.0.0-20240921165346-bc1730d97102
Source
Go
Version published
Created
Source

Название Микросервиса

[!NOTE] В процессе разработки

Описание

Краткое описание микросервиса и его назначение.

Стек разработки

Список используемых технологии

Установка

  • Установка
  • развертывание
  • make команды

Пример:

git clone https://gitlab.toledo24.ru/web/ms_layout.git

Проверить внутри Makefile и .scripts/deploy.sh переменную PROJECT_NAME на названия микросервиса. Если в проекте используется docker настройте его. После этого запустить make init

Убрать из комментария в .gitignore файл .env.

Запустить make remove-readme - удаление ненужных README.md

Основные команды в Makefile:

Usage:
  help             print this help message
  init             used to initialize the Go project, tidy, docker, migration, build and deploy
  deploy           executing the deployment command
  fast-start       quick launch of ms_layout
  start            build start of $(PROJECT_NAME)
  migration-up     start the migration stage with the database
  migration-down   down the migration with the database
  build            build a project
  lint             format and golangci-lint the project
  test             start test
  start-server     start systemctl server
  stop-server      stop systemctl server
  remove-readme    delete all files README.md

Использование

Примеры запросов к API и описание конечных точек:

  • GET /api/endpoint - Описание запроса
  • POST /api/endpoint - Описание запроса

FAQs

Package last updated on 21 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts