enable formatting via golangci-lint
1 file changed, 4 insertions(+), 2 deletions(-)
changed files
M routes/handler.go → routes/handler.go
@@ -16,8 +16,10 @@ "alin.ovh/elgit/config" ) -var ErrMethodNotAllowed = fmt.Errorf("that's not possible") -var ErrNotFound = fmt.Errorf("nothing like that here") +var ( + ErrMethodNotAllowed = fmt.Errorf("that's not possible") + ErrNotFound = fmt.Errorf("nothing like that here") +) func Handlers(c *config.Config, staticFiles fs.FS) *atreugo.Atreugo { d := deps{