Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Binary ¶
type Binary string
Binary wraps binary data and provides encoding helpers using base64.StdEncoding. Use this type for binary fields serialized/deserialized as base64 text. Type is specified as string rather than []byte so that it can be used as a map key. Use Bytes() to access the raw bytes. Values of this type are only valid when the backing string is Base64-encoded using standard encoding.
func (Binary) MarshalText ¶
func (*Binary) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.