// Code generated by go.wit.com/apps/autogenpb DO NOT EDIT. // This file was autogenerated with autogenpb 0.0.62 2025/02/24_1709_UTC // go install go.wit.com/apps/autogenpb@latest // // define which structs (messages) you want to use in the .proto file // Then sort.pb.go and marshal.pb.go files are autogenerated // // autogenpb uses it and has an example .proto file with instructions // package guipb import "go.wit.com/log" func (pb *Tables) Custom(id int) { log.Info("got to guipb.Custom() for pb", pb.GetUuid(), "widget id", id) if mycustom != nil { mycustom(id) } } func (pb *Table) Custom(id int) { log.Info("got to guipb.Custom() for pb", pb.GetUuid(), "widget id", id) if mycustom != nil { mycustom(id) } } var mycustom func(int) func (pb *Table) RegisterCustom(f func(int)) { mycustom = f }