1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00

chore: fix many cosmetic linter warnings (#486)

* fix whitespace warnings

Signed-off-by: James Hillyerd <james@hillyerd.com>

* fix a number of typos

Signed-off-by: James Hillyerd <james@hillyerd.com>

* fix many cosmetic linter warnings

Signed-off-by: James Hillyerd <james@hillyerd.com>

---------

Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
James Hillyerd
2024-02-15 18:02:26 -08:00
committed by GitHub
parent 864a2ba2d2
commit baa2dbd3a1
19 changed files with 25 additions and 37 deletions

View File

@@ -51,11 +51,7 @@ type Server struct {
}
// NewServer sets up things for unit tests or the Start() method.
func NewServer(
conf *config.Root,
mm message.Manager,
mh *msghub.Hub) *Server {
func NewServer(conf *config.Root, mm message.Manager, mh *msghub.Hub) *Server {
rootConfig = conf
// NewContext() will use this DataStore for the web handlers.