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} !


Comments

Popular posts from this blog

linux - Could not find a package configuration file provided by "Qt5Svg" -

simple.odata.client - Simple OData Client Unlink -