aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-11-22 17:29:58 +0000
committerr <r@freesoftwareextremist.com>2020-11-22 17:29:58 +0000
commitfa27d9c6eb525b2e55c3faab5dd8a3e0e9658536 (patch)
tree15561e426c76d5fab44b5e401c2e81b77c0d7553 /config
parent37b1c750454a780ef31a26d19005e5c94a39ae9b (diff)
downloadbloat-fa27d9c6eb525b2e55c3faab5dd8a3e0e9658536.tar.gz
bloat-fa27d9c6eb525b2e55c3faab5dd8a3e0e9658536.zip
Refactor things
- Remove separate auth/logging and merge them into transport.go - Add helper function for http handlers
Diffstat (limited to 'config')
-rw-r--r--config/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/config.go b/config/config.go
index d6140e5..8678f52 100644
--- a/config/config.go
+++ b/config/config.go
@@ -101,7 +101,7 @@ func Parse(r io.Reader) (c *config, err error) {
case "log_file":
c.LogFile = val
default:
- return nil, errors.New("invliad config key " + key)
+ return nil, errors.New("invalid config key " + key)
}
}