diff options
author | KatolaZ <katolaz@freaknet.org> | 2017-08-07 09:46:27 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2017-08-07 09:46:27 +0100 |
commit | d3105e671a19fec1060652531ce783227fb9fab6 (patch) | |
tree | eec4fd66285ef2d65f4c52a55c07780906fdea10 /config.go | |
parent | 587c8bf41568c9624f9874bb4e2549227c1e3b63 (diff) |
type renamed to avoid the SCORSH prefix
Diffstat (limited to 'config.go')
-rw-r--r-- | config.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |