diff options
| author | Jeff Carr <[email protected]> | 2025-01-09 05:49:23 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-09 05:49:23 -0600 |
| commit | a4beeca8579f23560eb30ba3acd75a533ed1d4d8 (patch) | |
| tree | cdc2eed5e9fc76bd29cef5ab5e2f8619ef08ac1d /protoParse.go | |
| parent | 78bfce745b3a966e34c8468eabf925c43167ae44 (diff) | |
mutex's are being added to the protoc pb.go file
Diffstat (limited to 'protoParse.go')
| -rw-r--r-- | protoParse.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protoParse.go b/protoParse.go index c9feb47..8c36e57 100644 --- a/protoParse.go +++ b/protoParse.go @@ -83,6 +83,7 @@ func (f *File) parseForMessage(line string) *MsgName { msg := new(MsgName) f.MsgNames = append(f.MsgNames, msg) msg.Name = msgName + msg.Lockname = msgName + "Mu" if strings.Contains(line, "`autogenpb:mutex`") { msg.DoMutex = true |
