Skip to content

Commit

Permalink
Re-organize packages (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnfercher authored Oct 19, 2023
1 parent 24470b6 commit e19700f
Show file tree
Hide file tree
Showing 43 changed files with 543 additions and 1,338 deletions.
File renamed without changes.
5 changes: 3 additions & 2 deletions pkg/cache/cache_test.go → internal/cache/cache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ import (
"strings"
"testing"

"github.com/johnfercher/maroto/v2/internal/cache"

"github.com/johnfercher/maroto/v2/pkg/consts/extension"
"github.com/johnfercher/maroto/v2/pkg/core/entity"

"github.com/johnfercher/maroto/v2/pkg/cache"
"github.com/stretchr/testify/assert"
)

Expand Down Expand Up @@ -100,6 +101,6 @@ func buildPath(file string) string {
return ""
}

dir = strings.ReplaceAll(dir, "pkg/cache", "")
dir = strings.ReplaceAll(dir, "internal/cache", "")
return path.Join(dir, file)
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ import (
"fmt"
"testing"

"github.com/johnfercher/maroto/v2/internal/cache"

"github.com/johnfercher/maroto/v2/mocks"
"github.com/johnfercher/maroto/v2/pkg/consts/extension"
"github.com/johnfercher/maroto/v2/pkg/core/entity"

"github.com/johnfercher/maroto/v2/pkg/cache"
"github.com/stretchr/testify/assert"
)

Expand Down
Loading

0 comments on commit e19700f

Please sign in to comment.