Comments (7)
I also pulled wangzitian0's repo and that worked.
from golang-gin-realworld-example-app.
@adomokos The two repo are totally same, caused by I'm lazy to write relative path. Govendor should auto download the packages to src/
from github.
from golang-gin-realworld-example-app.
I wonder what I did wrong with govendor, it never pulled in those dependencies.
Feel free to close this issue if you think it's not something you would be concerned about.
from golang-gin-realworld-example-app.
I got the same problem and solved it by replacing all the "wangzitian0/golang-gin-starter-kit" to "golang-gin-realworld-example-app" in the application.
PS.
I have created a symlink under the $GOPATH/src/github.com to point to the directory I cloned this repo.
golang-gin-realworld-example-app -> /<directories ... >/learning/golang-gin-realworld-example-app/
from golang-gin-realworld-example-app.
@mike-jianxin-mo The correct way might need to use relative path here. I did not know the project will fork to two place while I wrote this project, and used absolute path. Sorry for the mistake.
from golang-gin-realworld-example-app.
@wangzitian0 And how might one go about using a relative path? After a quick search, it appears that relative path imports aren't a thing in Go (https://stackoverflow.com/questions/38517593/relative-imports-in-go). All imports must start via the $GOROOT
. Wouldn't it be better to rename the imports in this repository to the folder they would be cloned into by default "golang-gin-realworld-example-app"? That way this isn't an issue for people cloning the repository.
from golang-gin-realworld-example-app.
this need to be merged asap.
This should be followed everytime contributing to a go project: https://splice.com/blog/contributing-open-source-git-repositories-go/
from golang-gin-realworld-example-app.
Related Issues (18)
- Consider adding comments HOT 1
- fail after fresh HOT 1
- Issue with cyclic dependency HOT 1
- Use of global variable to store DB connection HOT 4
- Why don't put the user module and artilces module in one folder? HOT 1
- why using gin.context in serizlizers HOT 2
- The ArticleFeed function is in ArticleRetrieve function HOT 5
- Can you update packages? HOT 1
- [Question] Coupling Persistent Model and Business Model HOT 4
- Why using transaction when query find? HOT 5
- Get a users articles
- fatal error: unexpected signal during runtime execution HOT 1
- Undefined validation function 'exists' on field 'Username' HOT 1
- How to make end to end test?
- More instructions HOT 12
- Can not find config for CORS? HOT 1
- question: about package name HOT 4
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 golang-gin-realworld-example-app.