Use snake case in the configuration file
This commit is contained in:
parent
4e6929fff9
commit
8935a6a91b
@ -1 +1 @@
|
|||||||
AccessToken = "token"
|
access_token = "token"
|
@ -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"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user