How to initialize specific fields in a Go struct -
if had go struct long list of fields. there built-in way initialize instance while providing value specific fields only?
you have write structtype{fieldname: value} !
if had go struct long list of fields. there built-in way initialize instance while providing value specific fields only?
you have write structtype{fieldname: value} !
Comments
Post a Comment