Coder Social home page Coder Social logo

Comments (5)

QuentinPerez avatar QuentinPerez commented on June 18, 2024

Hi @jqueuniet,

Can you give your go version ? Maybe you don't use the vendoring

$ docker run -it --rm golang sh -c "go get -u github.com/online-net/c14-cli/cmd/c14 && c14; go version"
Usage: c14 [OPTIONS] COMMAND [arg...]

Interact with C14 from the command line.

Options:
  -D, --debug        Enable debug mode
  -V, --verbose      Enable verbose mode

Commands:
    create    Create a new archive
    files     List the files of an archive
    freeze    Lock an archive
    help      Help of the c14 command line
    login     Log in to Online API
    ls        Displays the archives
    rename    Rename an archive
    remove    Remove an archive
    unfreeze  Unlock an archive
    upload    Upload your file or directory into an archive

Run 'c14 COMMAND --help' for more information on a command.
go version go1.7.1 linux/amd64

from c14-cli.

jqueuniet avatar jqueuniet commented on June 18, 2024

Sorry, I should have mentionned this first :)

I'm not using vendoring, but the Debian package, which is of course way older on stable.

# go version
go version go1.3.3 linux/amd64
# dpkg -l | grep golang
ii  golang                          2:1.3.3-1                            all          Go programming language compiler - metapackage
ii  golang-doc                      2:1.3.3-1                            all          Go programming language compiler - documentation
ii  golang-go                       2:1.3.3-1                            amd64        Go programming language compiler
ii  golang-go-linux-amd64           2:1.3.3-1                            amd64        Go standard library compiled for linux_amd64
ii  golang-go.tools                 0.0~hg20140703-4                     amd64        supplementary Go tools
ii  golang-src                      2:1.3.3-1                            amd64        Go programming language compiler - source files

The same for testing where everything works.

# go version
go version go1.6.3 linux/amd64
# dpkg -l | grep golang
ii  golang-1.6-go                     1.6.3-1                           amd64        Go programming language compiler, linker, compiled stdlib
ii  golang-1.6-src                    1.6.3-1                           amd64        Go programming language - source files
ii  golang-go                         2:1.6.1+1                         amd64        Go programming language compiler, linker, compiled stdlib
ii  golang-src                        2:1.6.1+1                         amd64        Go programming language - source files

So I should just upgrade my go version i guess. Do you have a formal minimum version for this tool?

from c14-cli.

QuentinPerez avatar QuentinPerez commented on June 18, 2024

You can install the 1.6, this version support the vendoring by default without any extra.

from c14-cli.

jqueuniet avatar jqueuniet commented on June 18, 2024

Got 1.6 though backports and it solved the problem. If I may suggest, you should add this 1.6 prerequisite to the README, since the error message is not entirely obvious to figure out for people not familiar with go like me :)

from c14-cli.

QuentinPerez avatar QuentinPerez commented on June 18, 2024

Done e7c7c3c thank you @jqueuniet 😊

from c14-cli.

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.