From 1e4a5f988e01ae8d58fdb8f3a08030ec7014d6d7 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Fri, 15 Jan 2021 21:38:51 -0600 Subject: [PATCH] Use snake case in the configuration file --- .lumerc.sample | 2 +- cmd/command.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.lumerc.sample b/.lumerc.sample index 6d10d6c..8a521ec 100644 --- a/.lumerc.sample +++ b/.lumerc.sample @@ -1 +1 @@ -AccessToken = "token" \ No newline at end of file +access_token = "token" \ No newline at end of file diff --git a/cmd/command.go b/cmd/command.go index a24cec0..5ba65d8 100644 --- a/cmd/command.go +++ b/cmd/command.go @@ -9,7 +9,7 @@ import ( ) type Config struct { - AccessToken string + AccessToken string `toml:"access_token"` Colors map[string][]float32 `toml:"colors"` }