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

Go 1.15: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?) #75

Closed
eclipseo opened this issue Jul 28, 2020 · 0 comments · Fixed by #76

Comments

@eclipseo
Copy link
Contributor

Go 1.15 rc1 on Fedora Rawhide:

Testing    in: /builddir/build/BUILD/vultr-2.0.1/_build/src
         PATH: /builddir/build/BUILD/vultr-2.0.1/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/vultr-2.0.1/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags "-X github.com/JamesClonk/vultr/version=2.0.1 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
      testing: github.com/JamesClonk/vultr
github.com/JamesClonk/vultr/lib
# github.com/JamesClonk/vultr/lib
./servers.go:695:17: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
./servers.go:696:17: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
./servers.go:697:17: conversion from int to string yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)
FAIL	github.com/JamesClonk/vultr/lib [build failed]

See golang/go#32479

eclipseo added a commit to eclipseo/vultr that referenced this issue Jul 28, 2020
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

Successfully merging a pull request may close this issue.

1 participant