xpahos / bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Build and install

Use go install to build binary and copy binary to GOPATH/bin directory.

Run

Use env var TOKEN to set Telegram bot API and DB env to set mysql connection uri.

Example:

export TOKEN=<mytoken>
export DB=<dbname:dbpassword@tcp(127.0.0.1)/dbname>
./bom

About

License:MIT License


Languages

Language:Go 100.0%