Skip to content

Commit

Permalink
repo: move pkgs to internal #84
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphaelPour committed Jul 10, 2023
1 parent 8ef8912 commit b4e5297
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* render:
* limit line with to 80 chars
* limit image width to 80 chars
* repo: make pkgs metadata and highlighter internal (#84)

*Not released yet*

Expand Down
2 changes: 1 addition & 1 deletion cmd/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (

"github.com/spf13/cobra"

"github.com/RaphaelPour/blogctl/pkg/metadata"
"github.com/RaphaelPour/blogctl/internal/metadata"
"github.com/fatih/color"
shellquote "github.com/kballard/go-shellquote"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/draft.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"fmt"
"path/filepath"

"github.com/RaphaelPour/blogctl/pkg/metadata"
"github.com/RaphaelPour/blogctl/internal/metadata"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"path/filepath"
"time"

"github.com/RaphaelPour/blogctl/pkg/metadata"
"github.com/RaphaelPour/blogctl/internal/metadata"
"github.com/spf13/cobra"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/publish.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"fmt"
"path/filepath"

"github.com/RaphaelPour/blogctl/pkg/metadata"
"github.com/RaphaelPour/blogctl/internal/metadata"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions cmd/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import (
"sort"
"time"

"github.com/RaphaelPour/blogctl/pkg/highlighter"
"github.com/RaphaelPour/blogctl/pkg/metadata"
"github.com/RaphaelPour/blogctl/internal/highlighter"
"github.com/RaphaelPour/blogctl/internal/metadata"
"github.com/gomarkdown/markdown"
"github.com/gomarkdown/markdown/parser"
"github.com/gorilla/feeds"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b4e5297

Please sign in to comment.