mirror of
https://github.com/documize/community.git
synced 2025-07-22 14:49:42 +02:00
Go fmt and linting issues
This commit is contained in:
parent
cf9de30a23
commit
7cd1c2f80c
5 changed files with 22 additions and 2 deletions
|
@ -18,6 +18,7 @@ import (
|
|||
"github.com/documize/community/core/api/util"
|
||||
)
|
||||
|
||||
// SetupPersister prepares context for database activity.
|
||||
func SetupPersister() (*Persister, error) {
|
||||
var err error
|
||||
c := Context{
|
||||
|
@ -40,6 +41,7 @@ func SetupPersister() (*Persister, error) {
|
|||
return p, err
|
||||
}
|
||||
|
||||
// SetupOrganization creates "tenant" record in database.
|
||||
func (p *Persister) SetupOrganization(company, title, message, domain, email string) (entity.Organization, error) {
|
||||
org := entity.Organization{
|
||||
BaseEntity: entity.BaseEntity{RefID: p.Context.OrgID},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue