diff options
| -rw-r--r-- | example/Makefile | 3 | ||||
| -rw-r--r-- | sort.go | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/example/Makefile b/example/Makefile index 13c5919..a489ec4 100644 --- a/example/Makefile +++ b/example/Makefile @@ -8,11 +8,10 @@ vet: @GO111MODULE=off go vet build: - rm -f fruit.newsort.pb.go GO111MODULE=off go build auto: - ../autogenpb --proto fruit.proto --package main + ../autogenpb --proto fruit.proto --package main --mutex goimports: goimports -w *.go @@ -191,7 +191,7 @@ func (pf *File) appendUnique(w io.Writer, blah *MsgName, names map[string]string var LOCK string = pf.Bases.Lockname if argv.Mutex { - LOCK = pf.Bases.Name + ".Lock" + LOCK = pf.Bases.Lockname } else { LOCK = "all.Lock" } |
