You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Serialization for arrays of rune not a possibility? #335
[]rune is []int32 to reflection, so it can't be told apart from a list of numbers, and it isn't supported. v2 (unknwon.dev/ini/v2) returns an error for it, unsupported type '[]int32', instead of writing an empty value. Use a string field for text, or a type that implements MarshalINI and UnmarshalINI in v2 for your own format.
Activity
unknwon commentedon Nov 11, 2026
[]runeis[]int32to reflection, so it can't be told apart from a list of numbers, and it isn't supported. v2 (unknwon.dev/ini/v2) returns an error for it,unsupported type '[]int32', instead of writing an empty value. Use astringfield for text, or a type that implementsMarshalINIandUnmarshalINIin v2 for your own format.