ОЭ
только если приватные поля с Get/Set вне пакета
Size: a a a
ОЭ
RS
Set
DM
RS
MD
csv:",omitempty"
} /
csv:",omitempty"
} /
csv:"myName,omitempty"
/
Examples of struct field tags and their meanings:
// Decode matches this field with "myName" header column.
Field int `csv:"myName"`
// Decode matches this field with "Field" header column.
Field int
// Decode matches this field with "myName" header column and decoding is not
// called if record's field is an empty string.
Field int `csv:"myName,omitempty"`
// Decode matches this field with "Field" header column and decoding is not
// called if record's field is an empty string.
Field int `csv:",omitempty"`
// Decode ignores this field.
Field int `csv:"-"`
// Decode treats this field exactly as if it was an embedded field and
// matches header columns that start with "my_prefix_" to all fields of this
// type.
Field Struct `csv:"my_prefix_,inline"`
// Decode treats this field exactly as if it was an embedded field.
Field Struct `csv:",inline"`
/
/
csv:",omitempty"
}/
/
MD
/
/
/
МП