mirror of
https://github.com/hamburghammer/gmon.git
synced 2025-02-23 11:00:34 +01:00
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 |