Skip to content
This repository has been archived by the owner on May 29, 2018. It is now read-only.

Why postsStore? #14

Open
emilgpa opened this issue Jan 21, 2015 · 0 comments
Open

Why postsStore? #14

emilgpa opened this issue Jan 21, 2015 · 0 comments

Comments

@emilgpa
Copy link

emilgpa commented Jan 21, 2015

Hi!,
Another way to do the same of the postsStore struct without the need of create it would be:

func (ds *Datastore) SubmitPost(post *thesrc.Post) (bool, error) {
}

So, Why do you create a separate struct?

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

No branches or pull requests

1 participant