From d3105e671a19fec1060652531ce783227fb9fab6 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Mon, 7 Aug 2017 09:46:27 +0100 Subject: type renamed to avoid the SCORSH prefix --- config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.go') diff --git a/config.go b/config.go index 317940a..0071719 100644 --- a/config.go +++ b/config.go @@ -10,14 +10,14 @@ import ( // Read a configuration from fname or die -func readGlobalConfig(fname string) *SCORSHmaster { +func readGlobalConfig(fname string) *master { data, err := ioutil.ReadFile(fname) if err != nil { log.Fatal("Error while reading file: ", err) } - var cfg = new(SCORSHmaster) + var cfg = new(master) // Unmarshal the YAML configuration file into a SCORSHcfg structure err = yaml.Unmarshal(data, cfg) -- cgit v1.2.3