Skip to content

Instantly share code, notes, and snippets.

@kanzitelli
Created September 11, 2019 14:33
Show Gist options
  • Save kanzitelli/febe9a4726ce736affdf5c743e34d2f7 to your computer and use it in GitHub Desktop.
Save kanzitelli/febe9a4726ce736affdf5c743e34d2f7 to your computer and use it in GitHub Desktop.
DB/seeds.go
package db
// FillSeedsInformation <function>
// is used to fill information that needed before usage of news endpoint
func (s Service) FillSeedsInformation() {
s.fillNewsSources()
s.fillNewsTypes()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment