Use snake case in the configuration file

This commit is contained in:
Ryan Cavicchioni 2021-01-15 21:38:51 -06:00
parent e8abc45377
commit 1e4a5f988e
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
AccessToken = "token" access_token = "token"

View File

@ -9,7 +9,7 @@ import (
) )
type Config struct { type Config struct {
AccessToken string AccessToken string `toml:"access_token"`
Colors map[string][]float32 `toml:"colors"` Colors map[string][]float32 `toml:"colors"`
} }