Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed Jan 29, 2024
1 parent 5dc7728 commit 44e74ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ type Handler struct {
}

// NewHandler creates a new [*Handler] instance.
func NewHandler(datadir string) (handler *Handler) {
handler = &Handler{
func NewHandler(datadir string) *Handler {
handler := &Handler{
Datadir: datadir,
Logger: internal.NoLogger{},
deps: dependencies{}, // initialized later
Expand All @@ -99,7 +99,7 @@ func NewHandler(datadir string) (handler *Handler) {
Savedata: handler.savedata,
UUIDNewRandom: uuid.NewRandom,
}
return
return handler
}

// createSession creates a session using the given UUID.
Expand Down

0 comments on commit 44e74ce

Please sign in to comment.