Giter Site home page Giter Site logo

Comments (5)

dylan-bourque avatar dylan-bourque commented on August 26, 2024

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.

dylan-bourque avatar dylan-bourque commented on August 26, 2024

Seems to be an issue w/ go vet -> golang/go#31000 (comment)

from uuid.

dylan-bourque avatar dylan-bourque commented on August 26, 2024

Should be fixed in Go 1.21.2 per golang/go#30399

from uuid.

dylan-bourque avatar dylan-bourque commented on August 26, 2024

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.

cameracker avatar cameracker commented on August 26, 2024

This issue appears to have been fixed up stream. Closing for now!

from uuid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.