need to move locally now

This commit is contained in:
Jeff Carr 2025-03-05 12:40:06 -06:00
parent 13ffeae213
commit 6e9ac22c12
1 changed files with 12 additions and 0 deletions

View File

@ -14,8 +14,20 @@ 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
}