refactor: update namespace

Now that it's hosted on github
This commit is contained in:
Antoine Aflalo
2024-08-27 08:56:38 -04:00
parent 01e5c78369
commit fdde3a344a
9 changed files with 18 additions and 13 deletions

5
.idea/vcs.xml generated
View File

@@ -1,5 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="GitSharedSettings">
<option name="FORCE_PUSH_PROHIBITED_PATTERNS">
<list />
</option>
</component>
<component name="VcsDirectoryMappings"> <component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" /> <mapping directory="$PROJECT_DIR$" vcs="Git" />
</component> </component>

View File

@@ -1,9 +1,9 @@
package cbz package cbz
import ( import (
"CBZOptimizer/packer"
"archive/zip" "archive/zip"
"fmt" "fmt"
"github.com/belphemur/CBZOptimizer/packer"
"os" "os"
) )

View File

@@ -1,9 +1,9 @@
package cbz package cbz
import ( import (
"CBZOptimizer/packer"
"archive/zip" "archive/zip"
"bytes" "bytes"
"github.com/belphemur/CBZOptimizer/packer"
"os" "os"
"testing" "testing"
) )

View File

@@ -1,12 +1,12 @@
package cbz package cbz
import ( import (
"CBZOptimizer/packer"
"archive/zip" "archive/zip"
"bufio" "bufio"
"bytes" "bytes"
"fmt" "fmt"
"github.com/araddon/dateparse" "github.com/araddon/dateparse"
"github.com/belphemur/CBZOptimizer/packer"
"io" "io"
"path/filepath" "path/filepath"
"strings" "strings"

View File

@@ -1,10 +1,10 @@
package cmd package cmd
import ( import (
"CBZOptimizer/cbz"
"CBZOptimizer/converter"
"CBZOptimizer/converter/constant"
"fmt" "fmt"
"github.com/belphemur/CBZOptimizer/cbz"
"github.com/belphemur/CBZOptimizer/converter"
"github.com/belphemur/CBZOptimizer/converter/constant"
"github.com/spf13/cobra" "github.com/spf13/cobra"
"github.com/thediveo/enumflag/v2" "github.com/thediveo/enumflag/v2"
"os" "os"

View File

@@ -1,10 +1,10 @@
package converter package converter
import ( import (
"CBZOptimizer/converter/constant"
"CBZOptimizer/converter/webp"
"CBZOptimizer/packer"
"fmt" "fmt"
"github.com/belphemur/CBZOptimizer/converter/constant"
"github.com/belphemur/CBZOptimizer/converter/webp"
"github.com/belphemur/CBZOptimizer/packer"
"github.com/samber/lo" "github.com/samber/lo"
"strings" "strings"
) )

View File

@@ -1,10 +1,10 @@
package webp package webp
import ( import (
"CBZOptimizer/converter/constant"
packer2 "CBZOptimizer/packer"
"bytes" "bytes"
"fmt" "fmt"
"github.com/belphemur/CBZOptimizer/converter/constant"
packer2 "github.com/belphemur/CBZOptimizer/packer"
"github.com/oliamb/cutter" "github.com/oliamb/cutter"
"golang.org/x/exp/slices" "golang.org/x/exp/slices"
_ "golang.org/x/image/webp" _ "golang.org/x/image/webp"

2
go.mod
View File

@@ -1,4 +1,4 @@
module CBZOptimizer module github.com/belphemur/CBZOptimizer
go 1.23 go 1.23

View File

@@ -1,7 +1,7 @@
package main package main
import ( import (
"CBZOptimizer/cmd" "github.com/belphemur/CBZOptimizer/cmd"
) )
func main() { func main() {