Skip to content

Commit

Permalink
Move internal/dmrconst -> internal/dmr/dmrconst
Browse files Browse the repository at this point in the history
  • Loading branch information
USA-RedDragon committed Feb 25, 2023
1 parent 8ec12b3 commit dbb4a53
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion internal/db/models/packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package models
import (
"fmt"

"github.com/USA-RedDragon/DMRHub/internal/dmrconst"
"github.com/USA-RedDragon/DMRHub/internal/dmr/dmrconst"
)

// Packet is a DMR packet
Expand Down
2 changes: 1 addition & 1 deletion internal/db/models/packet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"testing"

"github.com/USA-RedDragon/DMRHub/internal/db/models"
"github.com/USA-RedDragon/DMRHub/internal/dmrconst"
"github.com/USA-RedDragon/DMRHub/internal/dmr/dmrconst"
"github.com/google/go-cmp/cmp"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/db/models/talkgroup.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ package models
import (
"time"

"github.com/USA-RedDragon/DMRHub/internal/dmrconst"
"github.com/USA-RedDragon/DMRHub/internal/dmr/dmrconst"
"github.com/USA-RedDragon/DMRHub/internal/logging"
gorm_seeder "github.com/kachit/gorm-seeder"
"gorm.io/gorm"
Expand Down
2 changes: 1 addition & 1 deletion internal/db/models/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"time"

"github.com/USA-RedDragon/DMRHub/internal/config"
"github.com/USA-RedDragon/DMRHub/internal/dmrconst"
"github.com/USA-RedDragon/DMRHub/internal/dmr/dmrconst"
"github.com/USA-RedDragon/DMRHub/internal/http/api/utils"
gorm_seeder "github.com/kachit/gorm-seeder"
"gorm.io/gorm"
Expand Down
2 changes: 1 addition & 1 deletion internal/dmr/calltracker/call_tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (

"github.com/USA-RedDragon/DMRHub/internal/config"
"github.com/USA-RedDragon/DMRHub/internal/db/models"
dmrconst "github.com/USA-RedDragon/DMRHub/internal/dmrconst"
dmrconst "github.com/USA-RedDragon/DMRHub/internal/dmr/dmrconst"
"github.com/USA-RedDragon/DMRHub/internal/http/api/apimodels"
"github.com/USA-RedDragon/DMRHub/internal/logging"
"github.com/mitchellh/hashstructure/v2"
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion internal/dmr/servers/hbrp/packet_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ import (

"github.com/USA-RedDragon/DMRHub/internal/config"
"github.com/USA-RedDragon/DMRHub/internal/db/models"
"github.com/USA-RedDragon/DMRHub/internal/dmr/dmrconst"
"github.com/USA-RedDragon/DMRHub/internal/dmr/utils"
"github.com/USA-RedDragon/DMRHub/internal/dmrconst"
"github.com/USA-RedDragon/DMRHub/internal/logging"
"github.com/USA-RedDragon/DMRHub/internal/sdk"
"go.opentelemetry.io/otel"
Expand Down
2 changes: 1 addition & 1 deletion internal/dmr/servers/hbrp/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ import (
"github.com/USA-RedDragon/DMRHub/internal/config"
"github.com/USA-RedDragon/DMRHub/internal/db/models"
"github.com/USA-RedDragon/DMRHub/internal/dmr/calltracker"
"github.com/USA-RedDragon/DMRHub/internal/dmr/dmrconst"
"github.com/USA-RedDragon/DMRHub/internal/dmr/parrot"
"github.com/USA-RedDragon/DMRHub/internal/dmrconst"
"github.com/USA-RedDragon/DMRHub/internal/logging"
"github.com/redis/go-redis/v9"
"go.opentelemetry.io/otel"
Expand Down
2 changes: 1 addition & 1 deletion internal/dmr/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ package utils
import (
"github.com/USA-RedDragon/DMRHub/internal/config"
"github.com/USA-RedDragon/DMRHub/internal/db/models"
"github.com/USA-RedDragon/DMRHub/internal/dmrconst"
"github.com/USA-RedDragon/DMRHub/internal/dmr/dmrconst"
"github.com/USA-RedDragon/DMRHub/internal/logging"
)

Expand Down
2 changes: 1 addition & 1 deletion internal/http/api/controllers/v1/users/users.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (

"github.com/USA-RedDragon/DMRHub/internal/config"
"github.com/USA-RedDragon/DMRHub/internal/db/models"
"github.com/USA-RedDragon/DMRHub/internal/dmrconst"
"github.com/USA-RedDragon/DMRHub/internal/dmr/dmrconst"
"github.com/USA-RedDragon/DMRHub/internal/http/api/apimodels"
"github.com/USA-RedDragon/DMRHub/internal/http/api/utils"
"github.com/USA-RedDragon/DMRHub/internal/userdb"
Expand Down
2 changes: 1 addition & 1 deletion internal/http/api/controllers/v1/users/users_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"testing"
"time"

"github.com/USA-RedDragon/DMRHub/internal/dmrconst"
"github.com/USA-RedDragon/DMRHub/internal/dmr/dmrconst"
"github.com/USA-RedDragon/DMRHub/internal/http/api/apimodels"
"github.com/USA-RedDragon/DMRHub/internal/testutils"
"github.com/stretchr/testify/assert"
Expand Down
2 changes: 1 addition & 1 deletion internal/http/api/middleware/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (

"github.com/USA-RedDragon/DMRHub/internal/config"
"github.com/USA-RedDragon/DMRHub/internal/db/models"
"github.com/USA-RedDragon/DMRHub/internal/dmrconst"
"github.com/USA-RedDragon/DMRHub/internal/dmr/dmrconst"
"github.com/gin-contrib/sessions"
"github.com/gin-gonic/gin"
"go.opentelemetry.io/otel/attribute"
Expand Down

0 comments on commit dbb4a53

Please sign in to comment.