go.uuid icon indicating copy to clipboard operation
go.uuid copied to clipboard

adding new StringNoHyphens func

Open bpgriner opened this issue 6 years ago • 4 comments

bpgriner avatar Feb 05 '19 15:02 bpgriner

Coverage Status

Coverage increased (+0.02%) to 97.538% when pulling ffc5e1e443820cdaac5ecfc7b6818178bcbe71c6 on bpgriner:string-no-hyphens into b2ce2384e17bbe0c6d34077efa39dbab3e09123b on satori:master.

coveralls avatar Feb 05 '19 16:02 coveralls

You're welcome.

// Returns string representation of UUID without hyphens.
func (u UUID) StringNoHyphens() string {
	return hex.EncodeToString(u[:])
}

inliquid avatar Feb 05 '19 17:02 inliquid

looks like the build failed before the tests even ran:

exit status 1: # github.com/satori/go.uuid
codec_test.go:27:2: cannot find package "gopkg.in/check.v1" in any of:
	/home/travis/.gimme/versions/go1.6.4.linux.amd64/src/gopkg.in/check.v1 (from $GOROOT)
	/home/travis/gopath/src/gopkg.in/check.v1 (from $GOPATH)
FAIL	github.com/satori/go.uuid [setup failed]

can another build be kicked off?

bpgriner avatar Feb 05 '19 18:02 bpgriner

@tariq1890 I updated the comment 👍

bpgriner avatar Mar 04 '19 14:03 bpgriner