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

Readme inconsistency: Model files at root level vs pkg/utl/model #88

Open
ifo20 opened this issue Jan 8, 2021 · 1 comment
Open

Readme inconsistency: Model files at root level vs pkg/utl/model #88

ifo20 opened this issue Jan 8, 2021 · 1 comment

Comments

@ifo20
Copy link

ifo20 commented Jan 8, 2021

README references pkg/utl/model folder, but it seems such files were moved to root level in d89f430

I was wondering if this (having the files at root level) is generally the preferred approach, or if it's better to use the folder as suggested in the readme?

Inside pkg/utl/model create a new file named car.go. Inside put your entity (struct), and methods on the struct if you need them.

@ribice
Copy link
Owner

ribice commented Jan 8, 2021

Good catch!

I put it at root, following suggestions from HERE.

Will fix the readme and address this issue.

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