fix warnings
This commit is contained in:
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
|||||||
module pdfmerge
|
module gitea.tecamino.com/paadi/pdfmerge
|
||||||
|
|
||||||
go 1.25.4
|
go 1.25.4
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
|
||||||
"pdfmerge/internal/pdf/creator"
|
"gitea.tecamino.com/paadi/pdfmerge/internal/pdf/creator"
|
||||||
)
|
)
|
||||||
|
|
||||||
type DirSource struct {
|
type DirSource struct {
|
||||||
|
|||||||
@@ -7,9 +7,9 @@ import (
|
|||||||
|
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"pdfmerge/internal/pdf/creator"
|
"gitea.tecamino.com/paadi/pdfmerge/internal/pdf/creator"
|
||||||
|
|
||||||
"pdfmerge/internal/pdf/core"
|
"gitea.tecamino.com/paadi/pdfmerge/internal/pdf/core"
|
||||||
|
|
||||||
"golang.org/x/image/tiff"
|
"golang.org/x/image/tiff"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -5,9 +5,9 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"pdfmerge/internal/pdf/creator"
|
"gitea.tecamino.com/paadi/pdfmerge/internal/pdf/creator"
|
||||||
|
|
||||||
pdf "pdfmerge/internal/pdf/model"
|
pdf "gitea.tecamino.com/paadi/pdfmerge/internal/pdf/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
type PDFSource struct {
|
type PDFSource struct {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"pdfmerge/internal/pdf/creator"
|
"gitea.tecamino.com/paadi/pdfmerge/internal/pdf/creator"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Mergeable interface {
|
type Mergeable interface {
|
||||||
|
|||||||
@@ -2,9 +2,9 @@ package pdfmerge
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
merge "pdfmerge/internal/pdfmerge"
|
|
||||||
|
|
||||||
"pdfmerge/internal/pdf/creator"
|
"gitea.tecamino.com/paadi/pdfmerge/internal/pdf/creator"
|
||||||
|
merge "gitea.tecamino.com/paadi/pdfmerge/internal/pdfmerge"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Pdfmerge(inputpath []string, outputpath string) error {
|
func Pdfmerge(inputpath []string, outputpath string) error {
|
||||||
|
|||||||
Reference in New Issue
Block a user