GithubHelp home page GithubHelp logo

Comments (5)

ritikasharma20 avatar ritikasharma20 commented on June 3, 2024

Am facing the same issue, was wondering if this is temporary or is there any workaround?

from go-acc.

jakesylvestre avatar jakesylvestre commented on June 3, 2024

I'm having the same issue. It looks like viper imports this. Viper in turn imports hcl.

It looks like the viper version imported here imports an archived fork with this diff/ What's weird here is we should be using the version 1.0.0 since it's pinned https://github.com/ory/viper/blob/master/go.mod#L9

The new version of viper (which is on master at github.com/xplorfin/go-acc and can be seen in #26) doesn't fix the issue

from go-acc.

jakesylvestre avatar jakesylvestre commented on June 3, 2024

Okay, found a workaround. I think my github actions bumped go or something and you upgraded your version or something. You have to turn on GO111MODULE. Here's the config:

  - name: Install go-acc
    shell: bash
    run: go get -u github.com/ory/go-acc
    env:
      GO111MODULE: "on"

In any case, I'd recommend upgrading the viper dependency

from go-acc.

aeneasr avatar aeneasr commented on June 3, 2024

Yes, please use Go Modules!

from go-acc.

jakesylvestre avatar jakesylvestre commented on June 3, 2024

@aeneasr you know if this behavior's changed in a recent go version? (btw, we use go modules everywhere else. CI is a bit of an exception since the go get -u happens before go env config)

I seem to remember some discussion of switching GO111MODULE=on, but that wouldn't have broken this

In any case, this can probably be closed

from go-acc.

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.