Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Made the packages public #40

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import (

"github.com/tcnksm/go-latest"

"github.com/celogeek/go-comic-converter/v2/internal/pkg/converter"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epub"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epuboptions"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils"
"github.com/celogeek/go-comic-converter/v2/pkg/converter"
"github.com/celogeek/go-comic-converter/v2/pkg/epub"
"github.com/celogeek/go-comic-converter/v2/pkg/epuboptions"
"github.com/celogeek/go-comic-converter/v2/pkg/utils"
)

func main() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"strings"
"time"

"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils"
"github.com/celogeek/go-comic-converter/v2/pkg/utils"
)

type Converter struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"gopkg.in/yaml.v3"

"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils"
"github.com/celogeek/go-comic-converter/v2/pkg/utils"
)

type Options struct {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"strings"

"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils"
"github.com/celogeek/go-comic-converter/v2/pkg/utils"
)

type Profile struct {
Expand Down
16 changes: 8 additions & 8 deletions internal/pkg/epub/epub.go → pkg/epub/epub.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ import (

"github.com/gofrs/uuid"

"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubimage"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubimageprocessor"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epuboptions"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubprogress"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubtemplates"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubtree"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubzip"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils"
"github.com/celogeek/go-comic-converter/v2/pkg/epubimage"
"github.com/celogeek/go-comic-converter/v2/pkg/epubimageprocessor"
"github.com/celogeek/go-comic-converter/v2/pkg/epuboptions"
"github.com/celogeek/go-comic-converter/v2/pkg/epubprogress"
"github.com/celogeek/go-comic-converter/v2/pkg/epubtemplates"
"github.com/celogeek/go-comic-converter/v2/pkg/epubtree"
"github.com/celogeek/go-comic-converter/v2/pkg/epubzip"
"github.com/celogeek/go-comic-converter/v2/pkg/utils"
)

type EPUB struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"image"
"strings"

"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils"
"github.com/celogeek/go-comic-converter/v2/pkg/utils"
)

type EPUBImage struct {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ import (
pdfimage "github.com/raff/pdfreader/image"
"github.com/raff/pdfreader/pdfread"

"github.com/celogeek/go-comic-converter/v2/internal/pkg/sortpath"
"github.com/celogeek/go-comic-converter/v2/pkg/sortpath"

"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils"
"github.com/celogeek/go-comic-converter/v2/pkg/utils"
)

type task struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ import (

"github.com/disintegration/gift"

"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubimage"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubimagefilters"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epuboptions"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubprogress"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubzip"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils"
"github.com/celogeek/go-comic-converter/v2/pkg/epubimage"
"github.com/celogeek/go-comic-converter/v2/pkg/epubimagefilters"
"github.com/celogeek/go-comic-converter/v2/pkg/epuboptions"
"github.com/celogeek/go-comic-converter/v2/pkg/epubprogress"
"github.com/celogeek/go-comic-converter/v2/pkg/epubzip"
"github.com/celogeek/go-comic-converter/v2/pkg/utils"
)

type EPUBImageProcessor struct {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package epuboptions

import (
"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils"
"github.com/celogeek/go-comic-converter/v2/pkg/utils"
)

type View struct {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/schollz/progressbar/v3"

"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils"
"github.com/celogeek/go-comic-converter/v2/pkg/utils"
)

type Options struct {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package epubtemplates
import (
"github.com/beevik/etree"

"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubimage"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/epuboptions"
"github.com/celogeek/go-comic-converter/v2/internal/pkg/utils"
"github.com/celogeek/go-comic-converter/v2/pkg/epubimage"
"github.com/celogeek/go-comic-converter/v2/pkg/epuboptions"
"github.com/celogeek/go-comic-converter/v2/pkg/utils"
)

type Content struct {
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/beevik/etree"

"github.com/celogeek/go-comic-converter/v2/internal/pkg/epubimage"
"github.com/celogeek/go-comic-converter/v2/pkg/epubimage"
)

// Toc create toc
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.