File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Go SDK for Selectel Dedicated Servers
88You can install needed ` dedicated-go ` packages via ` go get ` command:
99
1010``` bash
11- go get github.com/selectel/dedicated-go
11+ go get github.com/selectel/dedicated-go/v2
1212```
1313
1414### Authentication
@@ -33,7 +33,7 @@ import (
3333 " fmt"
3434 " log"
3535
36- dedicated " github.com/selectel/dedicated-go/pkg/v2"
36+ dedicated " github.com/selectel/dedicated-go/v2/ pkg/v2"
3737)
3838
3939func main () {
Original file line number Diff line number Diff line change @@ -2,7 +2,10 @@ module github.com/selectel/dedicated-go/v2
22
33go 1.23
44
5- require github.com/stretchr/testify v1.11.1
5+ require (
6+ github.com/selectel/dedicated-go v1.0.0
7+ github.com/stretchr/testify v1.11.1
8+ )
69
710require (
811 github.com/davecgh/go-spew v1.1.1 // indirect
Original file line number Diff line number Diff line change 66 "net/url"
77 "testing"
88
9- "github.com/selectel/dedicated-go/pkg/httptest"
9+ "github.com/selectel/dedicated-go/v2/ pkg/httptest"
1010 "github.com/stretchr/testify/require"
1111)
1212
Original file line number Diff line number Diff line change 55 "errors"
66 "testing"
77
8- "github.com/selectel/dedicated-go/pkg/httptest"
8+ "github.com/selectel/dedicated-go/v2/ pkg/httptest"
99 "github.com/stretchr/testify/require"
1010)
1111
Original file line number Diff line number Diff line change 55 "errors"
66 "testing"
77
8- "github.com/selectel/dedicated-go/pkg/httptest"
8+ "github.com/selectel/dedicated-go/v2/ pkg/httptest"
99 "github.com/stretchr/testify/require"
1010)
1111
Original file line number Diff line number Diff line change 55 "errors"
66 "testing"
77
8- "github.com/selectel/dedicated-go/pkg/httptest"
8+ "github.com/selectel/dedicated-go/v2/ pkg/httptest"
99 "github.com/stretchr/testify/require"
1010)
1111
Original file line number Diff line number Diff line change 55 "errors"
66 "testing"
77
8- "github.com/selectel/dedicated-go/pkg/httptest"
8+ "github.com/selectel/dedicated-go/v2/ pkg/httptest"
99 "github.com/stretchr/testify/require"
1010)
1111
Original file line number Diff line number Diff line change 55 "errors"
66 "testing"
77
8- "github.com/selectel/dedicated-go/pkg/httptest"
8+ "github.com/selectel/dedicated-go/v2/ pkg/httptest"
99 "github.com/stretchr/testify/require"
1010)
1111
You can’t perform that action at this time.
0 commit comments