File tree Expand file tree Collapse file tree 13 files changed +41
-52
lines changed Expand file tree Collapse file tree 13 files changed +41
-52
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,9 @@ import (
10
10
11
11
opticgo "github.com/ViRb3/optic-go"
12
12
"github.com/ViRb3/sling/v2"
13
- "github.com/ViRb3/wgcf/cloudflare"
14
- "github.com/ViRb3/wgcf/util"
15
- "github.com/ViRb3/wgcf/wireguard"
13
+ "github.com/ViRb3/wgcf/v2/ cloudflare"
14
+ "github.com/ViRb3/wgcf/v2/ util"
15
+ "github.com/ViRb3/wgcf/v2/ wireguard"
16
16
)
17
17
18
18
var defaultHeaders = map [string ]string {}
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ import (
5
5
"net/http"
6
6
"time"
7
7
8
- "github.com/ViRb3/wgcf/config"
9
- "github.com/ViRb3/wgcf/openapi"
10
- "github.com/ViRb3/wgcf/util"
11
- "github.com/ViRb3/wgcf/wireguard"
8
+ "github.com/ViRb3/wgcf/v2/ config"
9
+ "github.com/ViRb3/wgcf/v2/ openapi"
10
+ "github.com/ViRb3/wgcf/v2/ util"
11
+ "github.com/ViRb3/wgcf/v2/ wireguard"
12
12
)
13
13
14
14
const (
Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ package generate
3
3
import (
4
4
"log"
5
5
6
- "github.com/ViRb3/wgcf/cloudflare"
7
- . "github.com/ViRb3/wgcf/cmd/shared"
8
- "github.com/ViRb3/wgcf/config"
9
- "github.com/ViRb3/wgcf/util"
10
- "github.com/ViRb3/wgcf/wireguard"
6
+ "github.com/ViRb3/wgcf/v2/ cloudflare"
7
+ . "github.com/ViRb3/wgcf/v2/ cmd/shared"
8
+ "github.com/ViRb3/wgcf/v2/ config"
9
+ "github.com/ViRb3/wgcf/v2/ util"
10
+ "github.com/ViRb3/wgcf/v2/ wireguard"
11
11
"github.com/pkg/errors"
12
12
"github.com/spf13/cobra"
13
13
"github.com/spf13/viper"
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ import (
4
4
"fmt"
5
5
"log"
6
6
7
- "github.com/ViRb3/wgcf/cloudflare"
8
- . "github.com/ViRb3/wgcf/cmd/shared"
9
- "github.com/ViRb3/wgcf/config"
10
- "github.com/ViRb3/wgcf/util"
11
- "github.com/ViRb3/wgcf/wireguard"
7
+ "github.com/ViRb3/wgcf/v2/ cloudflare"
8
+ . "github.com/ViRb3/wgcf/v2/ cmd/shared"
9
+ "github.com/ViRb3/wgcf/v2/ config"
10
+ "github.com/ViRb3/wgcf/v2/ util"
11
+ "github.com/ViRb3/wgcf/v2/ wireguard"
12
12
"github.com/manifoldco/promptui"
13
13
"github.com/pkg/errors"
14
14
"github.com/spf13/cobra"
Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ import (
4
4
"errors"
5
5
"log"
6
6
7
- "github.com/ViRb3/wgcf/cmd/generate"
8
- "github.com/ViRb3/wgcf/cmd/register"
9
- . "github.com/ViRb3/wgcf/cmd/shared"
10
- "github.com/ViRb3/wgcf/cmd/status"
11
- "github.com/ViRb3/wgcf/cmd/trace"
12
- "github.com/ViRb3/wgcf/cmd/update"
13
- "github.com/ViRb3/wgcf/config"
14
- "github.com/ViRb3/wgcf/util"
7
+ "github.com/ViRb3/wgcf/v2/ cmd/generate"
8
+ "github.com/ViRb3/wgcf/v2/ cmd/register"
9
+ . "github.com/ViRb3/wgcf/v2/ cmd/shared"
10
+ "github.com/ViRb3/wgcf/v2/ cmd/status"
11
+ "github.com/ViRb3/wgcf/v2/ cmd/trace"
12
+ "github.com/ViRb3/wgcf/v2/ cmd/update"
13
+ "github.com/ViRb3/wgcf/v2/ config"
14
+ "github.com/ViRb3/wgcf/v2/ util"
15
15
16
16
"github.com/spf13/cobra"
17
17
"github.com/spf13/viper"
Original file line number Diff line number Diff line change 6
6
"math"
7
7
"strings"
8
8
9
- "github.com/ViRb3/wgcf/cloudflare"
10
- "github.com/ViRb3/wgcf/config"
11
- "github.com/ViRb3/wgcf/util"
9
+ "github.com/ViRb3/wgcf/v2/ cloudflare"
10
+ "github.com/ViRb3/wgcf/v2/ config"
11
+ "github.com/ViRb3/wgcf/v2/ util"
12
12
13
13
"github.com/pkg/errors"
14
14
"github.com/spf13/viper"
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ package status
3
3
import (
4
4
"log"
5
5
6
- "github.com/ViRb3/wgcf/cloudflare"
7
- . "github.com/ViRb3/wgcf/cmd/shared"
8
- "github.com/ViRb3/wgcf/util"
6
+ "github.com/ViRb3/wgcf/v2/ cloudflare"
7
+ . "github.com/ViRb3/wgcf/v2/ cmd/shared"
8
+ "github.com/ViRb3/wgcf/v2/ util"
9
9
"github.com/pkg/errors"
10
10
"github.com/spf13/cobra"
11
11
)
Original file line number Diff line number Diff line change 7
7
"net/http"
8
8
"strings"
9
9
10
- . "github.com/ViRb3/wgcf/cmd/shared"
11
- "github.com/ViRb3/wgcf/util"
10
+ . "github.com/ViRb3/wgcf/v2/ cmd/shared"
11
+ "github.com/ViRb3/wgcf/v2/ util"
12
12
"github.com/spf13/cobra"
13
13
)
14
14
Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ package update
3
3
import (
4
4
"log"
5
5
6
- "github.com/ViRb3/wgcf/cloudflare"
7
- . "github.com/ViRb3/wgcf/cmd/shared"
8
- "github.com/ViRb3/wgcf/config"
9
- "github.com/ViRb3/wgcf/util"
6
+ "github.com/ViRb3/wgcf/v2/ cloudflare"
7
+ . "github.com/ViRb3/wgcf/v2/ cmd/shared"
8
+ "github.com/ViRb3/wgcf/v2/ config"
9
+ "github.com/ViRb3/wgcf/v2/ util"
10
10
"github.com/pkg/errors"
11
11
"github.com/spf13/cobra"
12
12
)
Original file line number Diff line number Diff line change 1
- module github.com/ViRb3/wgcf
1
+ module github.com/ViRb3/wgcf/v2
2
2
3
3
go 1.18
4
4
5
- replace github.com/ViRb3/wgcf/openapi => ./openapi
6
-
7
5
require (
8
6
github.com/ViRb3/optic-go v0.0.0-20240309111653-486347a8369d
9
7
github.com/ViRb3/sling/v2 v2.0.2
10
- github.com/ViRb3/wgcf/openapi v0.0.0-20240309112324-7db4fc9fa5d9
11
8
github.com/manifoldco/promptui v0.9.0
12
9
github.com/pkg/errors v0.9.1
13
10
github.com/spf13/cobra v1.8.1
14
11
github.com/spf13/viper v1.19.0
15
12
golang.org/x/crypto v0.28.0
13
+ golang.org/x/oauth2 v0.23.0
16
14
gopkg.in/yaml.v2 v2.4.0
17
15
)
18
16
@@ -43,7 +41,6 @@ require (
43
41
go.uber.org/atomic v1.9.0 // indirect
44
42
go.uber.org/multierr v1.9.0 // indirect
45
43
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
46
- golang.org/x/oauth2 v0.23.0 // indirect
47
44
golang.org/x/sys v0.26.0 // indirect
48
45
golang.org/x/text v0.19.0 // indirect
49
46
gopkg.in/ini.v1 v1.67.0 // indirect
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ package main
3
3
import (
4
4
"log"
5
5
6
- "github.com/ViRb3/wgcf/cmd"
7
- "github.com/ViRb3/wgcf/util"
6
+ "github.com/ViRb3/wgcf/v2/ cmd"
7
+ "github.com/ViRb3/wgcf/v2/ util"
8
8
)
9
9
10
10
func main () {
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments