Comments (10)
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.
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.
What's your purpose to create application outside the GOPATH?
from bee.
It's because i'm used to have all my Development projects stored in a single directory.
from bee.
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.
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.
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.
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.
@astaxie Why this issue is still open? I think it's already solved in PR #210
from bee.
@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)
- Default 'bee api' returns 404 HOT 1
- swagger 如何切换不同版本请求
- Support struct resopnse with @Failture HOT 1
- 运行bee run -gendoc=true无法生成commentsRouter_controllers.go文件 HOT 3
- 当一个方法支持多种method时会产生同样的operation id HOT 2
- bee run 访问404 HOT 6
- bee generate routers 支持/{*}这种形式生成路由也能正常访问
- bee pro gen过程中不能git clone.... HOT 1
- init global config instance failed. If you do not use this, just ignore it. open conf/app.conf: no such file or directory
- pack for m1 makbook HOT 2
- Mac下bee 命令行无法执行 zsh: command not found: bee HOT 1
- 升级、版本号、v1和v2共存问题 HOT 3
- How to generate a custom directory structure? HOT 1
- 无法自动刷新 HOT 3
- please update swaggerVersion to 4.6.2 in file run/docs.go !!
- bee v2 install fail HOT 5
- 关于bee pack命令 HOT 3
- Why can't I run migrations with bee tool -conn with environment variables HOT 4
- New
- bee 生成model问题 求救 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bee.