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
typeAttributestruct {
Identifier
}
// Read reads raw data from a attribute into a buffer.func (s*Attribute) Read(datainterface{}, dtype*Datatype) error { ... }
// Write writes raw data from a buffer to an attribute.func (s*Attribute) Write(datainterface{}, dtype*Datatype) error { ... }
we already use reflect for the interface{} part (to discover its underlying type) so the *Datatype is not strictly needed in Go. (even in the not (yet?) handled case of conversions).
The text was updated successfully, but these errors were encountered:
right now we have this API for
Attribute
:we already use
reflect
for theinterface{}
part (to discover its underlying type) so the*Datatype
is not strictly needed in Go. (even in the not (yet?) handled case of conversions).The text was updated successfully, but these errors were encountered: