Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not compile: imported and not used: "github.com/mattbaird/elastigo/api" #38

Closed
FairPrice opened this issue Sep 28, 2013 · 5 comments

Comments

@FairPrice
Copy link

does not compile: imported and not used: "github.com/mattbaird/elastigo/api"

@mattbaird
Copy link
Owner

I commented on this, but apparently it did not save.

Everything compiles fine for me on multiple machines and on drone.io.

Can you give more details?

@FairPrice
Copy link
Author

The problem is that when I connect import "github.com/mattbaird/elastigo/api" he looks for a file elastigo/api/api.go and could not compile. I tried to use together with revel framework

@mattbaird
Copy link
Owner

Could you post the example of your code?

@FairPrice
Copy link
Author

Example revel https://github.com/chestnayacena/example-revel
You need to revel to run the project http://robfig.github.io/revel/
File https://github.com/chestnayacena/example-revel/blob/master/app/controllers/app.go
I gave you the right to edit, I propose here to make a working version.
Thank you!

@mattbaird
Copy link
Owner

Fixed it in your code, not an issue with Elastigo, but rather a misunderstanding of imports with Go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant