yandex-praktikum

module
v0.0.0-...-832d8e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2022 License: MIT

README

go-musthave-shortener-tpl

Шаблон репозитория для практического трека «Go в веб-разработке».

Начало работы

  1. Склонируйте репозиторий в любую подходящую директорию на вашем компьютере.
  2. В корне репозитория выполните команду go mod init <name> (где <name> - адрес вашего репозитория на GitHub без префикса https://) для создания модуля.

Обновление шаблона

Чтобы иметь возможность получать обновления автотестов и других частей шаблона выполните следующую команду:

git remote add -m main template https://github.com/yandex-praktikum/go-musthave-shortener-tpl.git

Для обновления кода автотестов выполните команду:

git fetch template && git checkout template/main .github

Затем добавьте полученные изменения в свой репозиторий.

Directories

Path Synopsis
cmd
staticlint
staticlint implements set of static checks.
staticlint implements set of static checks.
internal
app/handlers/mocks
Package mock_handlers is a generated GoMock package.
Package mock_handlers is a generated GoMock package.
pkg
linter
Package linter contains linter that checks the call os.Exit function from main and warns if such call will be found.
Package linter contains linter that checks the call os.Exit function from main and warns if such call will be found.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL