refactor(monitor/backend): rename module to monitor-the-situation/backend

This commit is contained in:
CarterPerez-dev 2026-05-01 06:21:01 -04:00
parent e46728bd80
commit a627161b33
17 changed files with 30 additions and 30 deletions

View File

@ -102,7 +102,7 @@ formatters:
reformat-tags: true
goimports:
local-prefixes:
- github.com/carterperez-dev/templates/go-backend
- github.com/carterperez-dev/monitor-the-situation/backend
gci:
sections:
- standard

View File

@ -14,14 +14,14 @@ import (
"github.com/go-chi/chi/v5"
"github.com/carterperez-dev/templates/go-backend/internal/admin"
"github.com/carterperez-dev/templates/go-backend/internal/auth"
"github.com/carterperez-dev/templates/go-backend/internal/config"
"github.com/carterperez-dev/templates/go-backend/internal/core"
"github.com/carterperez-dev/templates/go-backend/internal/health"
"github.com/carterperez-dev/templates/go-backend/internal/middleware"
"github.com/carterperez-dev/templates/go-backend/internal/server"
"github.com/carterperez-dev/templates/go-backend/internal/user"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/admin"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/auth"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/config"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/core"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/health"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/middleware"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/server"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/user"
)
const (

View File

@ -1,4 +1,4 @@
module github.com/carterperez-dev/templates/go-backend
module github.com/carterperez-dev/monitor-the-situation/backend
go 1.25.0

View File

@ -12,7 +12,7 @@ import (
"github.com/go-chi/chi/v5"
"github.com/redis/go-redis/v9"
"github.com/carterperez-dev/templates/go-backend/internal/core"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/core"
)
type AuthService interface {

View File

@ -13,8 +13,8 @@ import (
"github.com/go-chi/chi/v5"
"github.com/go-playground/validator/v10"
"github.com/carterperez-dev/templates/go-backend/internal/core"
"github.com/carterperez-dev/templates/go-backend/internal/middleware"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/core"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/middleware"
)
type Handler struct {

View File

@ -20,9 +20,9 @@ import (
"github.com/lestrrat-go/jwx/v3/jwk"
"github.com/lestrrat-go/jwx/v3/jwt"
"github.com/carterperez-dev/templates/go-backend/internal/config"
"github.com/carterperez-dev/templates/go-backend/internal/core"
"github.com/carterperez-dev/templates/go-backend/internal/middleware"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/config"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/core"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/middleware"
)
type JWTManager struct {

View File

@ -10,7 +10,7 @@ import (
"fmt"
"time"
"github.com/carterperez-dev/templates/go-backend/internal/core"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/core"
)
type Repository interface {

View File

@ -12,7 +12,7 @@ import (
"github.com/google/uuid"
"github.com/redis/go-redis/v9"
"github.com/carterperez-dev/templates/go-backend/internal/core"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/core"
)
var (

View File

@ -13,7 +13,7 @@ import (
_ "github.com/jackc/pgx/v5/stdlib"
"github.com/jmoiron/sqlx"
"github.com/carterperez-dev/templates/go-backend/internal/config"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/config"
)
type Database struct {

View File

@ -10,7 +10,7 @@ import (
"github.com/redis/go-redis/v9"
"github.com/carterperez-dev/templates/go-backend/internal/config"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/config"
)
type Redis struct {

View File

@ -19,7 +19,7 @@ import (
"google.golang.org/grpc/credentials"
"google.golang.org/grpc/credentials/insecure"
"github.com/carterperez-dev/templates/go-backend/internal/config"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/config"
)
type Telemetry struct {

View File

@ -9,7 +9,7 @@ import (
"net/http"
"strings"
"github.com/carterperez-dev/templates/go-backend/internal/core"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/core"
)
const (

View File

@ -8,7 +8,7 @@ import (
"strconv"
"strings"
"github.com/carterperez-dev/templates/go-backend/internal/config"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/config"
)
func SecurityHeaders(isProduction bool) func(http.Handler) http.Handler {

View File

@ -14,8 +14,8 @@ import (
"github.com/go-chi/chi/v5"
chimw "github.com/go-chi/chi/v5/middleware"
"github.com/carterperez-dev/templates/go-backend/internal/config"
"github.com/carterperez-dev/templates/go-backend/internal/health"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/config"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/health"
)
type Server struct {

View File

@ -12,8 +12,8 @@ import (
"github.com/go-chi/chi/v5"
"github.com/go-playground/validator/v10"
"github.com/carterperez-dev/templates/go-backend/internal/core"
"github.com/carterperez-dev/templates/go-backend/internal/middleware"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/core"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/middleware"
)
type Handler struct {

View File

@ -12,7 +12,7 @@ import (
"github.com/jackc/pgx/v5/pgconn"
"github.com/carterperez-dev/templates/go-backend/internal/core"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/core"
)
type Repository interface {

View File

@ -10,8 +10,8 @@ import (
"github.com/google/uuid"
"github.com/carterperez-dev/templates/go-backend/internal/auth"
"github.com/carterperez-dev/templates/go-backend/internal/core"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/auth"
"github.com/carterperez-dev/monitor-the-situation/backend/internal/core"
)
type Service struct {