Documentation
¶
Overview ¶
Code generated by kvo. DO NOT EDIT.
Index ¶
- Variables
- func Customer_Add(r kvo.Record, n Delta) int64
- func Customer_Balance(r kvo.Record) int64
- func Customer_Check(r kvo.Record, enabled bool) (bool, uint16)
- func Customer_Fail(r kvo.Record)
- func Customer_Label(r kvo.Record, prefix string) string
- func Customer_Name(r kvo.Record) string
- func Customer_Observe(r kvo.Record)
- func Customer_Summary(r kvo.Record, n int8, f float32) (int64, float32)
- func Customer_WithFlag(r kvo.Record, flag kvo.PropFlag) int64
- func Methods() []evmbind.Method
- func StaticR1(v values.Value, present bool, d int) (out int64)
- func StaticR2(v values.Value, present bool, d int) (out string)
- func StaticW0(w *row2.Writer, v Row, k uint64, s string, layout row2.Layout, keep bool, ...)
- func StaticW1(w *row2.Writer, v int64, k uint64, s string, layout row2.Layout, keep bool, ...)
- func StaticW2(w *row2.Writer, v string, k uint64, s string, layout row2.Layout, keep bool, ...)
- type Delta
- type Row
Constants ¶
This section is empty.
Variables ¶
View Source
var Earned = kvo.NewSignedProp[int64](Schema, 1, "earned", kvo.TInt64)
View Source
var Expired = kvo.NewSignedProp[int64](Schema, 3, "expired", kvo.TInt64)
View Source
var Model = kvo.NewModel(Schema, kvo.NewEntityType(Schema, "Customer", reflect.TypeFor[Row]()), func(b *kvo.ModelBuilder) { b.Prop(Earned) b.Prop(Redeemed) b.Prop(Expired) b.Prop(Name) })
View Source
var Name = kvo.NewStringProp[string](Schema, 4, "name", kvo.TMachineString)
View Source
var OtherModel = kvo.NewModel(Schema, kvo.NewEntityType(Schema, "Other"), func(b *kvo.ModelBuilder) { b.Prop(Earned) b.Prop(Redeemed) b.Prop(Expired) b.Prop(Name) })
View Source
var Redeemed = kvo.NewSignedProp[int64](Schema, 2, "redeemed", kvo.TInt64)
View Source
var Schema = kvo.NewSchema()
View Source
var Static = kvo.Generated{Fingerprint: "833ac4e7f31cc099a4fdfec813d68b15045a75380095a3e652bd7f9a82801071", Fields: map[reflect.Type]*nativebind.GeneratedFields{ reflect.TypeFor[Row](): &StaticFields0, }, Encode: func(dst []byte, row any, layout row2.Layout) []byte { w := row2.AcquireWriter(dst) defer w.Release() StaticW0(w, *row.(*Row), 0, "", layout, false, 0) return w.BytesWritten() }, Decode: func(raw []byte, row any) { *row.(*Row) = StaticR0(values.Bytes(raw), true, 0) }}
View Source
var StaticFields0 = nativebind.GeneratedFields{Type: reflect.TypeFor[Row](), New: func() unsafe.Pointer { return unsafe.Pointer(new(Row)) }, Fields: []nativebind.GeneratedField{ {Name: "Name", Get: func(p unsafe.Pointer) values.Value { return values.String(string((*(Row))(p).Name)) }, Set: func(p unsafe.Pointer, v values.Value) { (*(Row))(p).Name = string(v.AsString()) }}, {Name: "Earned", Get: func(p unsafe.Pointer) values.Value { return values.Int(int64((*(Row))(p).Earned)) }, Set: func(p unsafe.Pointer, v values.Value) { (*(Row))(p).Earned = int64(v.AsInt()) }}, {Name: "Redeemed", Get: func(p unsafe.Pointer) values.Value { return values.Int(int64((*(Row))(p).Redeemed)) }, Set: func(p unsafe.Pointer, v values.Value) { (*(Row))(p).Redeemed = int64(v.AsInt()) }}, {Name: "Expired", Get: func(p unsafe.Pointer) values.Value { return values.Int(int64((*(Row))(p).Expired)) }, Set: func(p unsafe.Pointer, v values.Value) { (*(Row))(p).Expired = int64(v.AsInt()) }}, }}
Functions ¶
func Customer_Balance ¶
func Customer_Fail ¶
func Customer_Name ¶
func Customer_Observe ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.