Bot for sending twitch streams notifications in telegram.
Download dependencies
go mod download
- Golang
1.19+
After clone/on first setup/on schema change - you should run
make generate
make tests
docker compose -f docker-compose.dev.yml up -d
make dev
All schemas located in ./ent/schema
directory, but also we are using internal structures. Internal structures located in internal/db/db_models
. So you should change both of them.
After changing any schema in /ent/schema
folder, you should regenerate data via make generate
- atlasgo cli
- Docker
make migrate-create somecoolname
make migrate-apply