From 8c2ed23f2e25265c6a74870eb4f6b5ad0e82f475 Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sun, 1 Jan 2017 18:12:53 -0500 Subject: Add ability to find the ACF file related to the game --- config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/config.go b/config/config.go index 541505e..5debdb6 100644 --- a/config/config.go +++ b/config/config.go @@ -1,3 +1,4 @@ +// Used to define and load this application's specific configuration package config import ( @@ -10,12 +11,11 @@ var ( ) type Config struct { - // Repos []string - // map[string]map[string]interface{} SteamRepositories []string `yaml:"SteamRepositories"` Listen string } +// By default it reads 'config.yml' in the current directory func LoadConfig() (*Config, error) { c := &Config{} err := c.ReadDefaultConfig() -- cgit v1.2.3