Skip to content

Commit

Permalink
move internal/... to pkg/... to allow usage from other libs
Browse files Browse the repository at this point in the history
  • Loading branch information
marhaupe committed Oct 21, 2019
1 parent 2e2dd8b commit 95a916c
Show file tree
Hide file tree
Showing 65 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"os"
"time"

"github.com/marhaupe/json2struct/internal/editor"
"github.com/marhaupe/json2struct/internal/generator"
"github.com/marhaupe/json2struct/pkg/editor"
"github.com/marhaupe/json2struct/pkg/generator"
"github.com/spf13/cobra"
)

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strconv"
"strings"

"github.com/marhaupe/json2struct/internal/parse"
"github.com/marhaupe/json2struct/pkg/parse"

"github.com/dave/jennifer/jen"
)
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.
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.
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.
2 changes: 1 addition & 1 deletion internal/parse/parser.go → pkg/parse/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"errors"
"fmt"

"github.com/marhaupe/json2struct/internal/lex"
"github.com/marhaupe/json2struct/pkg/lex"
)

type Parser struct {
Expand Down
File renamed without changes.

0 comments on commit 95a916c

Please sign in to comment.