diff options
Diffstat (limited to 'example')
| -rw-r--r-- | example/Makefile | 8 |
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 |
