all repos — elgit @ b51ef07d24db92f9c8a6f383f5e76a483adae458

fork of legit: web frontend for git, written in go

enable formatting via golangci-lint

Alan Pearce
commit

b51ef07d24db92f9c8a6f383f5e76a483adae458

parent

3bb944b8b1e79781346e71fe25e79bbc949b050a

1 file changed, 4 insertions(+), 2 deletions(-)

changed files
M routes/handler.goroutes/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{