GithubHelp home page GithubHelp logo

Comments (4)

laher avatar laher commented on August 18, 2024

Hi Sanjay, thanks for the heads-up. It's an important point!
I'll fit this into the next release this weekend.

  • Good call about using go/build. It doesn't expose as much as I'd like - e.g. build.Context has a private method 'gopath()', and I don't want to call build.DefaultContext.Import(...) at this stage. For now I'll borrow the logic from Context.gopath(), and look into using Import in the future, (it could be useful for lots of stuff).
  • I'll also get goxc to attempt to select the relevant path element based on 'working directory' (and if not then fall back to the first element, as you suggest).

In the meantime please use GOPATH=/your/path goxc.

Thanks, I'll keep you posted.

from goxc.

laher avatar laher commented on August 18, 2024

Or , also for now, please use goxc -d=/your/path

from goxc.

laher avatar laher commented on August 18, 2024

OK, latest version includes this fix. Please test.

NOTE: the latest version v0.5.0 is a major change. This is especially significant if you have been using a .goxc.json config file. Otherwise, just be aware that the default operation of goxc includes running go test and go vet on your code.

The executable should guide you in case your config is affected. Please read up on the changes (e.g. start on the README.md and follow links through to the wiki). goxc -h also displays more info than before.

Hope this helps

from goxc.

balasanjay avatar balasanjay commented on August 18, 2024

Tested locally. Works well.

Thanks.

from goxc.

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.