summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-10 18:26:44 -0600
committerJeff Carr <[email protected]>2025-01-10 18:26:44 -0600
commitdc86ae010f688eefc5f4757d1c6eb620effc68f9 (patch)
tree7d0d9845bbbbe3817a0a126a220bfbdf9e4e2f6f /example
parent57f8f88ae9b6622e4df2fe6f1720d711ae8a8819 (diff)
new easier to read Find() Delete() and Append()
Diffstat (limited to 'example')
-rw-r--r--example/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/example/Makefile b/example/Makefile
index 552c332..f704534 100644
--- a/example/Makefile
+++ b/example/Makefile
@@ -19,6 +19,14 @@ build:
simpleMutexProtoc:
../autogenpb --proto fruit.proto --package main
+# why does this fail to compile? I'm not sure. maybe someone smart can figure it out
+# basically, it just trys to return the deleted record but says something
+# about the RWmutex lock being copied and GO fails to compile
+# I'm don't grok what is going on. This autogenerated code should
+# provide as simple as one could hope for automated way to try to debug it though!
+simpleMutexProtocWithDeleteCopy:
+ ../autogenpb --proto fruit.proto --package main --delete
+
simpleMutexGlobal:
../autogenpb --proto fruit.proto --package main --mutex=false