Skip to content

Instantly share code, notes, and snippets.

@shanev
Created January 21, 2019 19:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shanev/9837f683777a1b7633dd7ab311985ab0 to your computer and use it in GitHub Desktop.
Save shanev/9837f683777a1b7633dd7ab311985ab0 to your computer and use it in GitHub Desktop.
// Add adds any number of models as a database rows
func (c *Client) Add(model ...interface{}) error {
return c.Insert(model...)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment