code: func loadConfig() Config {
  	config := Config{}
  
  	j, err := ioutil.ReadFile(configFile)
  	if err == nil {
  		err = json.Unmarshal(j, &config)
  		if err != nil {
  			log.Fatal("Error parsing config file: ", err)
  		}
  	}
  
  	return config
  }
docs: // Loads chains from config