https://github.com/viartemev/nhl-recap
NHL recap telegram bot
https://github.com/viartemev/nhl-recap
telegram telegram-bot
Last synced: 10 months ago
JSON representation
NHL recap telegram bot
- Host: GitHub
- URL: https://github.com/viartemev/nhl-recap
- Owner: viartemev
- License: mit
- Created: 2022-03-21T13:03:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-11-02T21:33:46.000Z (over 2 years ago)
- Last Synced: 2025-04-05T22:44:37.062Z (about 1 year ago)
- Topics: telegram, telegram-bot
- Language: Go
- Homepage:
- Size: 6.87 MB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# NHL recap telegeram bot
[](https://github.com/viartemev/nhl-recap/actions/workflows/CI.yml)
[](https://github.com/viartemev/nhl-recap/actions/workflows/codeql-analysis.yml)
## Make commands
```shell
$make help
help This help.
docker_build_image docker build
go_mod_verify go mod verify
go_build go build -v ./...
lint golint ./...
test go test -race -vet=off ./...
```
## Run bot
```shell
nhl_recap --help
Usage of nhl_recap:
-t, --token string Token for Telegram Bot API
```
## Run docker
```shell
docker run -d viartemev/nhl-recap -t {TELEGRAM_BOT_TOKEN}
```
## Development
### Run tests in short mode:
```shell
go test -v -short
```
### Data race check:
```shell
go test -race
```
### Test coverage:
```shell
go test -coverprofile=cover.prof
go tool cover -html=cover.prof
```