Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add go.mod, gofmt #1

Merged
merged 2 commits into from Nov 7, 2019

Conversation

@arp242
Copy link
Contributor

arp242 commented Nov 5, 2019

Makes it possible to compile and work on it outside GOPATH. Also records
versions of dependencies.

Fixed two errors reported by "go vet" (which is run on "go test" since
Go 1.11):

$ go test
# github.com/mytchel/pass
./commands.go:141:21: Errorf call has arguments but no formatting directives
./commands.go:215:2: Println arg list ends with redundant newline

Also ran goimports on all files for the standard gofmtformatting.

arp242 added 2 commits Nov 5, 2019
Makes it possible to compile and work on it outside GOPATH. Also records
versions of dependencies.

Fixed two errors reported by "go vet" (which is run on "go test" since
Go 1.11):

	$ go test
	# github.com/mytchel/pass
	./commands.go:141:21: Errorf call has arguments but no formatting directives
	./commands.go:215:2: Println arg list ends with redundant newline
Standard formatting.

	goimports -w *.go
@mytchel mytchel merged commit f2b7c52 into mytchel:master Nov 7, 2019
@arp242 arp242 deleted the arp242:mod branch Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.