Linting fixes

This commit is contained in:
Hein
2025-11-11 11:03:02 +02:00
parent 412bbab560
commit 682716dd31
21 changed files with 302 additions and 290 deletions

View File

@@ -6,8 +6,9 @@ import (
"fmt"
"strings"
"github.com/bitechdev/ResolveSpec/pkg/common"
"github.com/uptrace/bun"
"github.com/bitechdev/ResolveSpec/pkg/common"
)
// BunAdapter adapts Bun to work with our Database interface

View File

@@ -5,8 +5,9 @@ import (
"fmt"
"strings"
"github.com/bitechdev/ResolveSpec/pkg/common"
"gorm.io/gorm"
"github.com/bitechdev/ResolveSpec/pkg/common"
)
// GormAdapter adapts GORM to work with our Database interface

View File

@@ -3,8 +3,9 @@ package router
import (
"net/http"
"github.com/bitechdev/ResolveSpec/pkg/common"
"github.com/uptrace/bunrouter"
"github.com/bitechdev/ResolveSpec/pkg/common"
)
// BunRouterAdapter adapts uptrace/bunrouter to work with our Router interface

View File

@@ -5,8 +5,9 @@ import (
"io"
"net/http"
"github.com/bitechdev/ResolveSpec/pkg/common"
"github.com/gorilla/mux"
"github.com/bitechdev/ResolveSpec/pkg/common"
)
// MuxAdapter adapts Gorilla Mux to work with our Router interface