Giter VIP home page Giter VIP logo

Comments (10)

astaxie avatar astaxie commented on September 13, 2024

It can't create new application outside of $GOPATH. Because when execute the command bee new,it will generate package path for the new application.

from bee.

phndiaye avatar phndiaye commented on September 13, 2024

I see. So, is it possible to add an argument to the bee new tool. Something like a --target custom_path.

If could do it, if possible.

from bee.

astaxie avatar astaxie commented on September 13, 2024

What's your purpose to create application outside the GOPATH?

from bee.

phndiaye avatar phndiaye commented on September 13, 2024

It's because i'm used to have all my Development projects stored in a single directory.

from bee.

ccll avatar ccll commented on September 13, 2024

It's because i'm used to have all my Development projects stored in a single directory.

@phndiaye
Give 'goproj' a try. It's simple and solved my problem.

from bee.

stephen304 avatar stephen304 commented on September 13, 2024

So without third part tools I can't put my beego app in a git repo unless I create a git repo in $GOPATH?

from bee.

ms4720 avatar ms4720 commented on September 13, 2024

I have several groups and companies I write code for, so it is very useful to be able to group projects under different directories based on client name and they may not have a common root before / , creating everything as src/proj_name is going to be a problem. Pretty new to go but the way I understand $GOPATH/ is it is where code I fetch/get goes not code I write. Why not just give the user the option to put a project where it makes sense for them to put it?

from bee.

pjincz avatar pjincz commented on September 13, 2024

Hi friend,

I met the same problem. I use gvm to manager go versions and packages in different dirs.
Put project into such a strange dir(/home/jcz/.gvm/pkgsets/go1.3/global/src) is a bad choice...

from bee.

amrfaissal avatar amrfaissal commented on September 13, 2024

@astaxie Why this issue is still open? I think it's already solved in PR #210

from bee.

liran avatar liran commented on September 13, 2024

@astaxie Why this issue is still open? I think it's already solved in PR #210

@amrfaissal Do you think your PR solved the problem? This problem still exists today.

from bee.

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.