Documentation
¶
Overview ¶
Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.
- SOURCE:
- tagstest.avsc
Code generated by github.com/actgardner/gogen-avro. DO NOT EDIT.
- SOURCE:
- tagstest.avsc
Index ¶
- 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) Finalize()
- func (r *StructTag) Get(i int) types.Field
- 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)
- type StructTagReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type StructTag ¶
type StructTag struct {
ProductName string `validate:"true"`
}
func NewStructTag ¶
func NewStructTag() *StructTag
func (*StructTag) AppendArray ¶
func (*StructTag) SchemaName ¶
func (*StructTag) SetBoolean ¶
func (*StructTag) SetDefault ¶
func (*StructTag) SetUnionElem ¶
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.