Documentation ¶
Overview ¶
Package custom contains custom types for test and example purposes. These types are used by the test structures generated by gogoprotobuf.
Index ¶
- type Bytes
- func (this Bytes) Compare(that Bytes) int
- func (this Bytes) Equal(that Bytes) bool
- func (b Bytes) Marshal() ([]byte, error)
- func (b Bytes) MarshalJSON() ([]byte, error)
- func (b Bytes) MarshalTo(data []byte) (n int, err error)
- func (b *Bytes) Size() int
- func (b *Bytes) Unmarshal(data []byte) error
- func (b *Bytes) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bytes ¶
type Bytes []byte
func NewPopulatedBytes ¶
func NewPopulatedBytes(r randy) *Bytes
func (Bytes) MarshalJSON ¶
func (*Bytes) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.