summaryrefslogtreecommitdiff
path: root/machine.test.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-05 12:40:14 -0600
committerJeff Carr <[email protected]>2025-03-05 12:42:50 -0600
commiteea1747f448471d86e0aac0cee5054e7dbc8d6e0 (patch)
treea43b50bde13a9c96aefa6468a6cd41ae300c1f13 /machine.test.go
parent96b4c0b5a1c26504b098f6d35471de9b7b5a5cbb (diff)
next step, fix autogenpb
Diffstat (limited to 'machine.test.go')
-rw-r--r--machine.test.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/machine.test.go b/machine.test.go
index 37ccdc8..52f7b56 100644
--- a/machine.test.go
+++ b/machine.test.go
@@ -7,6 +7,14 @@ import (
"go.wit.com/log"
)
+func (mt *MachinesTable) lookupWidgetId(id int) {
+ log.Info("no shit. got to lookupWidgdetId() id =", id, "on mt", mt.GetUuid())
+}
+
+func (mt *MachinesTable) Custom(f func(int)) {
+ mt.pb.RegisterCustom(mt.lookupWidgetId)
+}
+
func (mt *MachinesTable) Delete() {
if mt == nil {
log.Info("mt == nil table already deleted")