npillmayer / gotype

some experiments on type in frames, still early draft
Other
5 stars 1 forks source link

De-couple configuration handling #6

Closed npillmayer closed 5 years ago

npillmayer commented 5 years ago

Architectural bug: Currentyl configuration is bound to Viper.

TODO: config should be abstract. Config may only depend on tracing.

Future layout:

+---Config 
|      +------ ViperAdapter
+---Tracing
       +------ GoLogAdapter
       +------ LogrusAdapter
npillmayer commented 5 years ago

Interface "Configuration" introduced and pushed viper into an adapter package.