Giter VIP home page Giter VIP logo

Comments (5)

matkoniecz avatar matkoniecz commented on May 25, 2024

From looking at travis it seems to be testing go at stable and tip, currently meaning 1.11.1 and devel +a2381f5966.

Should I assume that only latest stable version mentioned at https://golang.org/doc/devel/release.html is supported, with dev Travis build serving as warning about incoming breaking changes?

from gmailctl.

mbrt avatar mbrt commented on May 25, 2024

You need to first go get the package this way:

go get github.com/mbrt/gmailctl/cmd/gmailctl
go install github.com/mbrt/gmailctl/cmd/gmailctl

Also make sure that the install path is in your $PATH.

I don't know exactly what's the minimum version that works with this package, but 1.6 should be OK.

from gmailctl.

matkoniecz avatar matkoniecz commented on May 25, 2024

I think that explicit

go get github.com/mbrt/gmailctl/cmd/gmailctl

would be helpful for go newbies - especially as go get has some useful complaints like complaining about unset $GOPATH. I plan to make PR adding it to instructions, hopefully it is OK.


Apparently, according to prometheus/collectd_exporter#37 (comment) 1.7 go is minimum (though 1.7 may be not enough, I need to test it)

mateusz@grisznak:~/Desktop/tmp$ echo $GOPATH
/home/mateusz/Documents/install/gopath_target
mateusz@grisznak:~/Desktop/tmp$ go get github.com/mbrt/gmailctl/cmd/gmailctl
package context: unrecognized import path "context" (import path does not begin with hostname)

and later

mateusz@grisznak:~/Desktop/tmp$ go install github.com/mbrt/gmailctl/cmd/gmailctl
../../Documents/install/gopath_target/src/github.com/mbrt/gmailctl/cmd/gmailctl/cmd/init_cmd.go:4:2: cannot find package "context" in any of:
	/home/mateusz/Documents/install/gopath_target/src/github.com/mbrt/gmailctl/vendor/context (vendor tree)
	/usr/lib/go-1.6/src/context (from $GOROOT)
	/home/mateusz/Documents/install/gopath_target/src/context (from $GOPATH)

from gmailctl.

mbrt avatar mbrt commented on May 25, 2024

You are right, I did that already when I saw this issue (See updated README). I suspect the Gmail APIs want new releases of Go, although they don't specify which one.

from gmailctl.

matkoniecz avatar matkoniecz commented on May 25, 2024

I did that already when I saw this issue (See updated README)

I believe that it fixes this issue...

Thanks!

from gmailctl.

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.