Skip to content

Commit

Permalink
move from internal to pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
mpoegel committed Dec 25, 2023
1 parent db90a32 commit f547910
Show file tree
Hide file tree
Showing 22 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cmd/wrapped/wrapped.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"os"
"time"

pizza "github.com/mpoegel/rsvp.pizza/internal/pizza"
pizza "github.com/mpoegel/rsvp.pizza/pkg/pizza"
)

type WrappedData struct {
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"os/signal"

"github.com/mpoegel/rsvp.pizza/internal/pizza"
"github.com/mpoegel/rsvp.pizza/pkg/pizza"
"go.uber.org/zap"
)

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion internal/pizza/cache_test.go → pkg/pizza/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"
"time"

"github.com/mpoegel/rsvp.pizza/internal/pizza"
"github.com/mpoegel/rsvp.pizza/pkg/pizza"

"github.com/stretchr/testify/assert"
)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/mpoegel/rsvp.pizza/internal/pizza"
"github.com/mpoegel/rsvp.pizza/pkg/pizza"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion internal/pizza/store_test.go → pkg/pizza/store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/mpoegel/rsvp.pizza/internal/pizza"
"github.com/mpoegel/rsvp.pizza/pkg/pizza"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/mock"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/fauna_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"testing"

"github.com/mpoegel/rsvp.pizza/internal/pizza"
"github.com/mpoegel/rsvp.pizza/pkg/pizza"

"github.com/stretchr/testify/assert"
)
Expand Down
2 changes: 1 addition & 1 deletion test/integration/googlecalendar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"testing"
"time"

"github.com/mpoegel/rsvp.pizza/internal/pizza"
"github.com/mpoegel/rsvp.pizza/pkg/pizza"
"github.com/stretchr/testify/require"
"go.uber.org/zap"
)
Expand Down
2 changes: 1 addition & 1 deletion test/integration/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/mpoegel/rsvp.pizza/internal/pizza"
"github.com/mpoegel/rsvp.pizza/pkg/pizza"
)

func TestHandleIndex(t *testing.T) {
Expand Down

0 comments on commit f547910

Please sign in to comment.