Skip to content

ensure slice struct fields are initialized

Charlotte Hausman requested to merge analyzer_tweaks into main

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 '[]'.

Merge request reports

Loading