mirror of
https://github.com/hamburghammer/gmon.git
synced 2024-12-22 01:17:39 +01:00
Augusto Dwenger J
bf8304f02c
Go does not allow the usage of an interface on a typed array. To resolve this issue we manually create a new array with the interface type and add all items to it. This no happens inside the rules sturct instead of being a single standalone function inside the main package. |
||
---|---|---|
.. | ||
config.go | ||
rules.go | ||
tomlConfigLoader.go | ||
tomlConfigLoader_test.go | ||
tomlRulesLoader.go | ||
tomlRulesLoader_test.go |