diff --git a/crm/rest/field.go b/crm/rest/field.go index ce9546651..1fdbcd793 100644 --- a/crm/rest/field.go +++ b/crm/rest/field.go @@ -26,7 +26,7 @@ func (Field) New() *Field { return &Field{service: service.Field()} } -func (self *Field) List(ctx context.Context,_ *server.FieldListRequest) (interface{}, error) { +func (self *Field) List(ctx context.Context, _ *server.FieldListRequest) (interface{}, error) { return self.service.Find(ctx) } diff --git a/sam/rest/organisation.go b/sam/rest/organisation.go index 7559f4bff..3f4248a1e 100644 --- a/sam/rest/organisation.go +++ b/sam/rest/organisation.go @@ -1,8 +1,8 @@ package rest import ( - "fmt" "context" + "fmt" "github.com/pkg/errors" "github.com/titpetric/factory" diff --git a/sam/rest/team.go b/sam/rest/team.go index e9b154428..190ceb1fe 100644 --- a/sam/rest/team.go +++ b/sam/rest/team.go @@ -1,8 +1,8 @@ package rest import ( - "fmt" "context" + "fmt" "github.com/pkg/errors" "github.com/titpetric/factory"