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
Currently default tag is unsupported on slices. As it explained here:
The default tag is unsupported on slices because slice parsing uses , as the separator, as does the envconfig tags separator.
What I propose is to change default tag to support following format:
default=value1;value2;etc
If this value will be applied to slice, it will be split by ;. If applied to string, value is applied as is. Else, it will panic. I would gladly implement this feature.
The text was updated successfully, but these errors were encountered:
Currently
default
tag is unsupported on slices. As it explained here:What I propose is to change
default
tag to support following format:If this value will be applied to slice, it will be split by
;
. If applied to string, value is applied as is. Else, it will panic. I would gladly implement this feature.The text was updated successfully, but these errors were encountered: