Made goconfig template more general.