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

c - zlib and gdi32 with OpenSSL? -

java - inputmismatch exception -

ios - Align baselines with characters in large line heights with Text Kit -