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 }}
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.
It's unclear whether tags.Set is intended to be mutable or immutable. @rakyll mentioned wanting to hide the encoding details from the user, so I recommended the following:
typeSetmap[Key]Valuefunc (setSet) Copy() SettypeValuestruct {
b []byte
}
funcStringValue(sstring) Value {
returnValue{[]byte(s)}
}
funcInt64Value(iint64) Value {
returnValue{[]byte{/* encode the int */}}
}
The text was updated successfully, but these errors were encountered:
It's unclear whether
tags.Set
is intended to be mutable or immutable. @rakyll mentioned wanting to hide the encoding details from the user, so I recommended the following:The text was updated successfully, but these errors were encountered: