ensure slice struct fields are initialized
apparently using "var fieldname []string" marshals to nil (go null) which causes template rendering to fail. make([]string, 0) however initializes a zero length empty slice and marshals to '[]'.
apparently using "var fieldname []string" marshals to nil (go null) which causes template rendering to fail. make([]string, 0) however initializes a zero length empty slice and marshals to '[]'.