-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from AidarAzizov/repo_refactoring
[add] contrib + tests
- Loading branch information
Showing
11 changed files
with
138 additions
and
66 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Contribute | ||
## Pull request | ||
Если вы решили впервые стать контрибьютером и помочь развитию open-source проекта, этот пункт для вас. | ||
1) Делается fork основного репозитория | ||
2) git clone https://github.com/ваш-логин/bot-golang.git | ||
3) Локальное изменение | ||
4) Сделайте ребейз на remote master ветку | ||
5) git push origin <ваш-логин> | ||
6) В удаленном репозитории нажать _compare&pull request_ | ||
|
||
Также рекомендуем ознакомиться с подробной инструкцией для контрибьютеров - <a href="https://github.com/firstcontributions/first-contributions">README.md</a> | ||
|
||
## Tests | ||
1) Если добавляется новая функциональность, то покрывайте ее тестами | ||
2) Следите за тем, чтобы тесты успешно выполнялись в PR перед мержем. | ||
|
||
## Merge | ||
Ветка будет смержена в мастер, когда: | ||
1) Все пайплайны пройдут успешно | ||
2) Новая функциональность будет покрыта тестами | ||
|
||
После выполнения всех пунктов один из сотрудников проверит в ближайшее время PR и смержит его. | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,21 @@ | ||
module github.com/mail-ru-im/bot-golang | ||
|
||
go 1.13 | ||
go 1.20 | ||
|
||
require ( | ||
github.com/hako/durafmt v0.0.0-20190612201238-650ed9f29a84 | ||
github.com/hako/durafmt v0.0.0-20210608085754-5c1018a4e16b | ||
github.com/mailru/easyjson v0.7.7 | ||
github.com/sirupsen/logrus v1.9.3 | ||
github.com/stretchr/testify v1.7.0 | ||
) | ||
|
||
require ( | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/josharian/intern v1.0.0 // indirect | ||
github.com/kr/text v0.2.0 // indirect | ||
github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e | ||
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect | ||
github.com/sirupsen/logrus v1.8.1 | ||
github.com/stretchr/testify v1.7.0 | ||
golang.org/x/sys v0.0.0-20211013075003-97ac67df715c // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
golang.org/x/sys v0.18.0 // indirect | ||
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f // indirect | ||
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect | ||
) |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.