Skip to content

Commit

Permalink
change module package name
Browse files Browse the repository at this point in the history
  • Loading branch information
schlapzz committed May 25, 2023
1 parent 5ad25d7 commit 06c30b4
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 14 deletions.
3 changes: 2 additions & 1 deletion argocd/repoClient.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ import (
"context"
"encoding/json"
"fmt"
"goff/util"
"io/fs"
"os"
"path/filepath"
"strings"

"github.com/puzzle/goff/util"

"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1"
"github.com/argoproj/argo-cd/v2/reposerver/apiclient"
"github.com/argoproj/argo-cd/v2/util/argo"
Expand Down
2 changes: 1 addition & 1 deletion cmd/argocd.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Copyright © 2023 NAME HERE <EMAIL ADDRESS>
package cmd

import (
"goff/argocd"
"github.com/puzzle/goff/argocd"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Copyright © 2023 NAME HERE <EMAIL ADDRESS>
package cmd

import (
"goff/diff"
"github.com/puzzle/goff/diff"

"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/kustomize.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Copyright © 2023 NAME HERE <EMAIL ADDRESS>
package cmd

import (
"goff/cmd/kustomize"
"goff/kustomize/kustomizationgraph"
"github.com/puzzle/goff/cmd/kustomize"
"github.com/puzzle/goff/kustomize/kustomizationgraph"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/kustomize/build.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package kustomize

import (
"goff/kustomize"
"github.com/puzzle/goff/kustomize"

"github.com/spf13/cobra"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/split.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Copyright © 2023 NAME HERE <EMAIL ADDRESS>
package cmd

import (
"goff/util"
"github.com/puzzle/goff/util"

"github.com/spf13/cobra"
)
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module goff
module github.com/puzzle/goff

go 1.20

Expand Down Expand Up @@ -115,7 +115,7 @@ require (
github.com/robfig/cron/v3 v3.0.1 // indirect
github.com/russross/blackfriday v1.5.2 // indirect
github.com/sergi/go-diff v1.1.0 // indirect
github.com/sirupsen/logrus v1.9.0 // indirect
github.com/sirupsen/logrus v1.9.0
github.com/skeema/knownhosts v1.1.0 // indirect
github.com/stretchr/objx v0.5.0 // indirect
github.com/stretchr/testify v1.8.1 // indirect
Expand Down
3 changes: 2 additions & 1 deletion kustomize/kustomizationgraph/kustomizationgraph.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package kustomizationgraph

import (
"goff/kustomize/kustomizationfile"
"os"
"path"
"path/filepath"
"strings"

"github.com/puzzle/goff/kustomize/kustomizationfile"

"github.com/awalterschulze/gographviz"
"github.com/pkg/errors"
)
Expand Down
2 changes: 1 addition & 1 deletion kustomize/kustomizationgraph/kustomizationgraph_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package kustomizationgraph
import (
"testing"

"goff/kustomize/kustomizationfile"
"github.com/puzzle/goff/kustomize/kustomizationfile"

"github.com/spf13/afero"
)
Expand Down
6 changes: 4 additions & 2 deletions kustomize/kustomize.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ package kustomize

import (
"bytes"
"goff/kustomize/kustomizationfile"
"goff/util"
"os"
"path/filepath"
"strings"

"github.com/puzzle/goff/util"

"github.com/puzzle/goff/kustomize/kustomizationfile"

"sigs.k8s.io/kustomize/api/filesys"
"sigs.k8s.io/kustomize/kustomize/v4/commands/build"
)
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Copyright © 2023 Ch. Schlatter [email protected]
package main

import (
"goff/cmd"
"github.com/puzzle/goff/cmd"
)

func main() {
Expand Down

0 comments on commit 06c30b4

Please sign in to comment.