Please follow these coding standards when writing code for inclusion in Tsuru.
is a method of a type that has a collection of <Something>’s. Should receive an instance of <Something>:
func (a *App) AddUnit(u *Unit) error
is a collection method that adds one or more elements:
func (a *AppList) Add( apps ...*App) error
it’s a function that’s save an instance of <Something> in the database. Should receives an instance of <Something>.
func CreateApp(a *App) error
it’s a function that’s delete an instance of <Something> from database.
it’s opposite of Add<Something>.