Documentation ¶
Overview ¶
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- schema.avsc
Code generated by Skaidus. DO NOT EDIT.
- SOURCE:
- schema.avsc
Index ¶
- Constants
- func NewStructTagWriter(writer io.Writer, codec container.Codec, recordsPerBlock int64) (*container.Writer, error)
- type StructTag
- func (_ StructTag) AppendArray() types.Field
- func (_ StructTag) AppendMap(key string) types.Field
- func (_ StructTag) AvroCRC64Fingerprint() []byte
- func (_ StructTag) Finalize()
- func (r *StructTag) Get(i int) types.Field
- func (_ StructTag) HintSize(int)
- func (r StructTag) MarshalJSON() ([]byte, error)
- func (r *StructTag) NullField(i int)
- func (r StructTag) Schema() string
- func (r StructTag) SchemaName() string
- func (r StructTag) Serialize(w io.Writer) error
- func (_ StructTag) SetBoolean(v bool)
- func (_ StructTag) SetBytes(v []byte)
- func (r *StructTag) SetDefault(i int)
- func (_ StructTag) SetDouble(v float64)
- func (_ StructTag) SetFloat(v float32)
- func (_ StructTag) SetInt(v int32)
- func (_ StructTag) SetLong(v int64)
- func (_ StructTag) SetString(v string)
- func (_ StructTag) SetUnionElem(v int64)
- func (r *StructTag) UnmarshalJSON(data []byte) error
- type StructTagReader
Constants ¶
View Source
const StructTagAvroCRC64Fingerprint = "\x92\xb7Dk\xe2\x1e\xef\xfc"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StructTag ¶
type StructTag struct {
ProductName string `validate:"true" json:"productName"`
}
func NewStructTag ¶
func NewStructTag() StructTag
func (StructTag) AppendArray ¶
func (StructTag) AvroCRC64Fingerprint ¶
func (StructTag) MarshalJSON ¶
func (StructTag) SchemaName ¶
func (StructTag) SetBoolean ¶
func (*StructTag) SetDefault ¶
func (StructTag) SetUnionElem ¶
func (*StructTag) UnmarshalJSON ¶
type StructTagReader ¶
type StructTagReader struct {
// contains filtered or unexported fields
}
container reader
func NewStructTagReader ¶
func NewStructTagReader(r io.Reader) (*StructTagReader, error)
func (StructTagReader) Read ¶
func (r StructTagReader) Read() (StructTag, error)
Click to show internal directories.
Click to hide internal directories.