ossobv / gocollect

Data collector using go, periodically posts json to a REST api
GNU General Public License v3.0
6 stars 1 forks source link

parseConfigWithIncludes() should get a Struct as argument #33

Open wdoekes opened 7 years ago

wdoekes commented 7 years ago

See: https://github.com/ossobv/gocollect/blob/88623131c626fafc84e113f65a9bbf25a28cfad4/gocollect.go#L106

Instead of taking all those arguments, some or all should be merged into one or more structs/types.