From 5f55292d87502a1cc6fbbaa01aaecc1cdf511033 Mon Sep 17 00:00:00 2001 From: Daniel Sonck Date: Tue, 9 Jul 2024 21:35:50 +0200 Subject: [PATCH] chore: mosaic: enable and apply gofumpt --- mosaic/.golangci.yml | 1 - mosaic/router/health_router.go | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/mosaic/.golangci.yml b/mosaic/.golangci.yml index 29afc388e..6d4fa4c9c 100644 --- a/mosaic/.golangci.yml +++ b/mosaic/.golangci.yml @@ -29,7 +29,6 @@ linters: - prealloc - lll - gosec - - gofumpt - godot - gocritic - funlen diff --git a/mosaic/router/health_router.go b/mosaic/router/health_router.go index 94d21902f..3ef7849b5 100644 --- a/mosaic/router/health_router.go +++ b/mosaic/router/health_router.go @@ -18,8 +18,7 @@ import ( "github.com/kouprlabs/voltaserve/mosaic/infra" ) -type HealthRouter struct { -} +type HealthRouter struct{} func NewHealthRouter() *HealthRouter { return &HealthRouter{}