-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
69 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Описание GoComponents v0.7.2 | ||
# Описание GoComponents v0.7.3 | ||
Этот репозиторий содержит описание библиотеки GoComponents. | ||
|
||
## Статус библиотеки | ||
|
@@ -11,4 +11,22 @@ | |
позволяет встраиваться в произвольные таблицы БД; | ||
|
||
## Подключение библиотеки | ||
`go get github.com/mondegor/go-components` | ||
`go get -u github.com/mondegor/[email protected]` | ||
|
||
## Установка библиотеки для её локальной разработки | ||
|
||
- Выбрать рабочую директорию, где должна быть расположена библиотека | ||
- `mkdir go-components && cd go-components` // создать и перейти в директорию проекта | ||
- `git clone [email protected]:mondegor/go-components.git .` | ||
- `cp .env.dist .env` | ||
|
||
### Консольные команды используемые при разработке библиотеки | ||
|
||
> Перед запуском консольных скриптов сервиса необходимо скачать и установить утилиту Mrcmd.\ | ||
> Инструкция по её установке находится [здесь](https://github.com/mondegor/mrcmd#readme) | ||
- `mrcmd go-dev fmt` // исправляет форматирование кода (gofumpt -l -w -extra ./) | ||
- `mrcmd go-dev goimports-fix` // исправление imports, если это требуется (goimports -d -local ${GO_DEV_LOCAL_PACKAGE} ./) | ||
- `mrcmd go-dev check` // статический анализ кода библиотеки | ||
- `mrcmd go-dev test` // запуск тестов библиотеки | ||
- `mrcmd go-dev help` // выводит список всех доступных команд |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters