Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
gllm-dev committed Dec 12, 2024
1 parent 2e9bd4b commit ad98b44
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 3 additions & 2 deletions internal/adapters/handlers/rest/healthzhdl/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ package healthzhdl
import (
"encoding/json"
"errors"
"go.openfort.xyz/shield/internal/applications/healthzapp"
domainErrors "go.openfort.xyz/shield/internal/core/domain/errors"
"net/http"
"time"

"go.openfort.xyz/shield/internal/applications/healthzapp"
domainErrors "go.openfort.xyz/shield/internal/core/domain/errors"
)

type Handler struct {
Expand Down
5 changes: 3 additions & 2 deletions internal/adapters/handlers/rest/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ package rest
import (
"context"
"fmt"
"go.openfort.xyz/shield/internal/adapters/handlers/rest/healthzhdl"
"go.openfort.xyz/shield/internal/applications/healthzapp"
"log/slog"
"net/http"
"strings"

"go.openfort.xyz/shield/internal/adapters/handlers/rest/healthzhdl"
"go.openfort.xyz/shield/internal/applications/healthzapp"

"go.openfort.xyz/shield/internal/core/ports/factories"
"go.openfort.xyz/shield/internal/core/ports/services"

Expand Down
3 changes: 2 additions & 1 deletion internal/applications/healthzapp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package healthzapp

import (
"context"
"log/slog"

"go.openfort.xyz/shield/internal/adapters/repositories/sql"
"go.openfort.xyz/shield/internal/core/domain/errors"
"go.openfort.xyz/shield/pkg/logger"
"log/slog"
)

type Application struct {
Expand Down

0 comments on commit ad98b44

Please sign in to comment.