From dc86ae010f688eefc5f4757d1c6eb620effc68f9 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 10 Jan 2025 18:26:44 -0600 Subject: new easier to read Find() Delete() and Append() --- example/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'example/Makefile') 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 -- cgit v1.2.3