Use gofumpt as code formatter

This commit is contained in:
eikendev 2022-04-20 22:08:21 +02:00
parent 04e29f04d9
commit 0b8d22d293
No known key found for this signature in database
GPG key ID: A1BDB1B28C8EF694
12 changed files with 23 additions and 30 deletions

View file

@ -7,8 +7,7 @@ import (
)
// MockDispatcher is a dispatcher used for testing - it does not need any storage interface
type MockDispatcher struct {
}
type MockDispatcher struct{}
func (d *MockDispatcher) RegisterApplication(id uint, name, token, user string) (string, error) {
return fmt.Sprintf("%d-%s", id, name), nil