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

main.go test error #103

Open
elyock opened this issue Dec 26, 2019 · 0 comments
Open

main.go test error #103

elyock opened this issue Dec 26, 2019 · 0 comments

Comments

@elyock
Copy link

elyock commented Dec 26, 2019

I'm still learning Go, so I don't know if this is relevant, but, just FYI, when I built invoicer-chapter2 with Go 1.13 on CircleCI, I got the error below ... Changing "%d" to "%s" fixed it, which may make sense because mux.Vars is a map[string]string ...

#!/bin/bash -eo pipefail
go test \
github.com/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}

# github.com/******/invoicer-chapter2
./main.go:122:3: httpError format %d has arg vars["id"] of wrong type string

Exited with code exit status 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant