Skip to content

Commit 8cd4c42

Browse files
committed
gh-115-go-import-v2: Suffix Go module path with /v2
1 parent 63c6c1d commit 8cd4c42

8 files changed

Lines changed: 12 additions & 12 deletions

File tree

doh-client/client.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ import (
3838
"sync"
3939
"time"
4040

41-
"github.com/m13253/dns-over-https/doh-client/config"
42-
"github.com/m13253/dns-over-https/doh-client/selector"
43-
jsondns "github.com/m13253/dns-over-https/json-dns"
41+
"github.com/m13253/dns-over-https/v2/doh-client/config"
42+
"github.com/m13253/dns-over-https/v2/doh-client/selector"
43+
jsondns "github.com/m13253/dns-over-https/v2/json-dns"
4444
"github.com/miekg/dns"
4545
"golang.org/x/net/http2"
4646
"golang.org/x/net/idna"

doh-client/google.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ import (
3434
"strconv"
3535
"strings"
3636

37-
"github.com/m13253/dns-over-https/doh-client/selector"
38-
jsondns "github.com/m13253/dns-over-https/json-dns"
37+
"github.com/m13253/dns-over-https/v2/doh-client/selector"
38+
jsondns "github.com/m13253/dns-over-https/v2/json-dns"
3939
"github.com/miekg/dns"
4040
)
4141

doh-client/ietf.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ import (
3535
"strings"
3636
"time"
3737

38-
"github.com/m13253/dns-over-https/doh-client/selector"
39-
jsondns "github.com/m13253/dns-over-https/json-dns"
38+
"github.com/m13253/dns-over-https/v2/doh-client/selector"
39+
jsondns "github.com/m13253/dns-over-https/v2/json-dns"
4040
"github.com/miekg/dns"
4141
)
4242

doh-client/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import (
3333
"runtime"
3434
"strconv"
3535

36-
"github.com/m13253/dns-over-https/doh-client/config"
36+
"github.com/m13253/dns-over-https/v2/doh-client/config"
3737
)
3838

3939
func checkPIDFile(pidFile string) (bool, error) {

doh-server/google.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import (
3434
"strings"
3535
"time"
3636

37-
jsondns "github.com/m13253/dns-over-https/json-dns"
37+
jsondns "github.com/m13253/dns-over-https/v2/json-dns"
3838
"github.com/miekg/dns"
3939
"golang.org/x/net/idna"
4040
)

doh-server/ietf.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ import (
3636
"strings"
3737
"time"
3838

39-
jsondns "github.com/m13253/dns-over-https/json-dns"
39+
jsondns "github.com/m13253/dns-over-https/v2/json-dns"
4040
"github.com/miekg/dns"
4141
)
4242

doh-server/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import (
3838
"time"
3939

4040
"github.com/gorilla/handlers"
41-
jsondns "github.com/m13253/dns-over-https/json-dns"
41+
jsondns "github.com/m13253/dns-over-https/v2/json-dns"
4242
"github.com/miekg/dns"
4343
)
4444

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/m13253/dns-over-https
1+
module github.com/m13253/dns-over-https/v2
22

33
go 1.13
44

0 commit comments

Comments
 (0)