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

Subpackage issue #15

Open
uzmo opened this issue Jul 3, 2015 · 1 comment
Open

Subpackage issue #15

uzmo opened this issue Jul 3, 2015 · 1 comment

Comments

@uzmo
Copy link

uzmo commented Jul 3, 2015

Hey @ant0ine,

In example GORM, if I move Reminder structure and its get, post, put, delete functions into a sub folder called 'models' and also save .go file as sub package 'models', then how to handle them in rest.MakeRouter in main.go?
Thanks in advance!

Kevin

@ant0ine
Copy link
Owner

ant0ine commented Jul 13, 2015

It seems to be a go packaging issue in your code. Have you tried models.Reminder or something like that ?

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

2 participants