rakyll/drive

types.go error on install

Closed this issue · 6 comments

when running "go get github.com/rakyll/drive" on debian 7/6 wheezy with the most recent "golang" package from apt-get I get the following error:

../lib/go/src/pkg/github.com/rakyll/drive/types/types.go:42: mtime.Round undefined (type time.Time has no field or method Round)

Same problem here on Ubuntu 12.04

$ sudo apt-get install golang git mercurial
$ sudo go get github.com/rakyll/drive
# github.com/rakyll/drive/types
/usr/lib/go/src/pkg/github.com/rakyll/drive/types/types.go:42: mtime.Round undefined (type time.Time has no field or method Round)
$ go version
go version go1

Wrong version of go?

Works for me on the latest version of go (downloaded from golang.org)

pla1 commented

I am on Ubuntu 12.04.5 LTS

I receive: /usr/lib/go/src/pkg/github.com/rakyll/drive/types/types.go:42: mtime.Round undefined (type time.Time has no field or method Round) when executing: sudo go get github.com/rakyll/drive

Download go from http://golang.org/doc/install, we're not maintaining the golang apt-get package and it seems like it's uber overdated. go1.2 is required.

pla1 commented

Running go version go1.4beta1 linux/amd64 on Ubuntu 14.04.

The following executes without any indication of failure or success.

go get github.com/rakyll/drive

I issue the drive command and the command is not found.

How can I put go in verbose mode to see what is happening with the installation?

Thanks.

pla1 commented

Oh, nevermind. The installation succeeded. The drive command is in the /usr/local/go/bin/bin directory.

Sorry for the noise.

Thanks!