• Cristian Maglie's avatar
    Removed global *viper.Viper settings instance · 1fddba76
    Cristian Maglie authored
    Now the configuration is kept inside the arduinoCoreServiceImpl struct.
    
    No more direct access to the configuration, the required config values
    are passed as arguments or available trough struct fields.
    
    Viper object is now embedded into a new configuration.Setting object.
    This would allow to make better getters and setters methods in the next
    commits.
    
    HTTP downloader configuration is generated using the configuration.
    1fddba76
service.go 1.65 KB