fork from kless/goconfig