summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-03-22 13:03:01 +0100
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2024-03-22 13:30:41 +0100
commita4b4286ced663a71ec1501d67a524edc3b957807 (patch)
treee1b38dca850b7e98ccce2900bab0a42d1d955def /internal
parent175d6dbb992696e5b8db96ede33de5371d286f2d (diff)
Format: Run gofumpt
Diffstat (limited to 'internal')
-rw-r--r--internal/server/servers.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/server/servers.go b/internal/server/servers.go
index 36f9ea7..8285801 100644
--- a/internal/server/servers.go
+++ b/internal/server/servers.go
@@ -26,7 +26,7 @@ type Callbacks interface {
type Servers struct {
clientID string
cb Callbacks
- config *v2.V2
+ config *v2.V2
}
// Remove removes a server with id `identifier` and type `t`
@@ -37,9 +37,9 @@ func (s *Servers) Remove(identifier string, t srvtypes.Type) error {
// NewServers creates a new servers struct
func NewServers(name string, cb Callbacks, cfg *v2.V2) Servers {
return Servers{
- clientID: name,
- cb: cb,
- config: cfg,
+ clientID: name,
+ cb: cb,
+ config: cfg,
}
}