Comments (5)
Just tried this w/ Go 1.12.1 on my laptop (Ubuntu 18.04). No error from go vet
. π
go version
-> go version go1.12.1 linux/amd64
go env
:
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/dylan/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/dylan/dev/golang"
GOPROXY=""
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS=""
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS=""
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build244704731=/tmp/go-build -gno-record-gcc-switches"
/tmp/test.go
:
package main
import (
"fmt"
"github.com/gofrs/uuid"
)
func main() {
u := uuid.Must(uuid.NewV4())
fmt.Printf("capitalized UUID: %S", u)
}
from uuid.
Seems to be an issue w/ go vet
-> golang/go#31000 (comment)
from uuid.
Should be fixed in Go 1.21.2 per golang/go#30399
from uuid.
Apologies for abandoning this. Life happens. ( ._.)
I just verified that go vet
is clean when run against the example program @theckman posted above using Go 1.13.1. I don't have an easy way to test against a 1.12 environment.
from uuid.
This issue appears to have been fixed up stream. Closing for now!
from uuid.
Related Issues (20)
- θΏθ‘goε½δ»€ζ₯ι/gofrs/[email protected]+incompatible HOT 1
- Does this produce cryptographically strong uuid values? HOT 3
- V7 and project status HOT 9
- `uuid.UUID.Value` panics with nil pointers HOT 2
- Add a generator's constructor with custom `io.Reader` as rand data source HOT 2
- Link to new UUID draft HOT 4
- add max uuid with all bits set. HOT 12
- Missing TimestampFromV7 HOT 1
- TimestampFromV7 should return the unix timestamp in milliseconds HOT 9
- Mixed pointer and value recivers HOT 4
- Wrong error message for TimestampFromV7 HOT 1
- v5.1.0 is tagged incorrectly HOT 2
- Tune up Fuzz test HOT 2
- Ability to encode specific timestamp into a V1 UUID HOT 3
- create go.mod and go.sum HOT 19
- Support for Go 1.13 Error Wrapping HOT 9
- Why does Timestamp.Time return an error? HOT 7
- potential security risk with codecov ? HOT 3
- consider adding IsZero() property HOT 3
- Proposal: to release as a Go Module, archive repo and fork to github.com/gofrs/[email protected] HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uuid.