Go to file
2021-03-23 21:43:44 +13:00
cmd/go-scrobble Initial Commit 2021-03-23 21:43:44 +13:00
init Initial Commit 2021-03-23 21:43:44 +13:00
internal/goscrobble Initial Commit 2021-03-23 21:43:44 +13:00
migrations Initial Commit 2021-03-23 21:43:44 +13:00
test Initial Commit 2021-03-23 21:43:44 +13:00
.gitignore Initial commit 2021-03-23 19:07:39 +13:00
go.mod Initial Commit 2021-03-23 21:43:44 +13:00
go.sum Initial Commit 2021-03-23 21:43:44 +13:00
LICENSE Initial commit 2021-03-23 19:07:39 +13:00
README.md Initial Commit 2021-03-23 21:43:44 +13:00

go-scrobble

Golang based music scrobbler. MySQL backend.

Setup MySQL

create user 'goscrobble'@'%' identified by 'supersecurepass';
create database goscrobble;
grant all privileges on goscrobble.* to 'goscrobble'@'%';

Local build/run

go mod tidy
CGO_ENABLED=0 MYSQL_HOST=127.0.0.1 MYSQL_USER=goscrobble MYSQL_PASS=supersecurepass MYSQL_DB=goscrobble go run cmd/go-scrobble/*.go

Run local tests

go test test/*