Skip to content

Commit

Permalink
gofmt -s
Browse files Browse the repository at this point in the history
  • Loading branch information
Randall C. O'Reilly committed Jun 30, 2020
1 parent 7b6525e commit 2b60cf1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ clean:
@echo "GO111MODULE = $(value GO111MODULE)"
$(GOCLEAN) ./...

fmts:
gofmt -s -w .

vet:
@echo "GO111MODULE = $(value GO111MODULE)"
$(GOCMD) vet $(DIRS) | grep -v unkeyed
Expand Down
4 changes: 2 additions & 2 deletions emer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ release:
@echo "package $(PACKAGE)" >> $(VERS_FILE)
@echo "" >> $(VERS_FILE)
@echo "const (" >> $(VERS_FILE)
@echo " Version = \"$(VERS)\"" >> $(VERS_FILE)
@echo " GitCommit = \"$(GIT_COMMIT)\" // the commit JUST BEFORE the release" >> $(VERS_FILE)
@echo " Version = \"$(VERS)\"" >> $(VERS_FILE)
@echo " GitCommit = \"$(GIT_COMMIT)\" // the commit JUST BEFORE the release" >> $(VERS_FILE)
@echo " VersionDate = \"$(VERS_DATE)\" // UTC" >> $(VERS_FILE)
@echo ")" >> $(VERS_FILE)
@echo "" >> $(VERS_FILE)
Expand Down
5 changes: 2 additions & 3 deletions emer/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
package emer

const (
Version = "v1.0.7"
GitCommit = "1983583" // the commit JUST BEFORE the release
Version = "v1.0.7"
GitCommit = "1983583" // the commit JUST BEFORE the release
VersionDate = "2020-06-28 21:03" // UTC
)

0 comments on commit 2b60cf1

Please sign in to comment.