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
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"pdfmerge/internal/pdf/creator"
|
||||
"gitea.tecamino.com/paadi/pdfmerge/internal/pdf/creator"
|
||||
)
|
||||
|
||||
type DirSource struct {
|
||||
|
||||
@@ -7,9 +7,9 @@ import (
|
||||
|
||||
"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"
|
||||
)
|
||||
|
||||
@@ -5,9 +5,9 @@ import (
|
||||
"io"
|
||||
"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 {
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
"pdfmerge/internal/pdf/creator"
|
||||
"gitea.tecamino.com/paadi/pdfmerge/internal/pdf/creator"
|
||||
)
|
||||
|
||||
type Mergeable interface {
|
||||
|
||||
@@ -2,9 +2,9 @@ package pdfmerge
|
||||
|
||||
import (
|
||||
"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 {
|
||||
|
||||
Reference in New Issue
Block a user