Skip to content

Commit dcdd4bf

Browse files
author
Roman
committed
fix review
1 parent cba67e9 commit dcdd4bf

8 files changed

Lines changed: 12 additions & 9 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Go SDK for Selectel Dedicated Servers
88
You 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

3939
func main() {

go.mod

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ module github.com/selectel/dedicated-go/v2
22

33
go 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

710
require (
811
github.com/davecgh/go-spew v1.1.1 // indirect

pkg/v2/boot_manager_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
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

pkg/v2/keypairs_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
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

pkg/v2/locations_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
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

pkg/v2/networks_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
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

pkg/v2/price_plan_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
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

pkg/v2/servers_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
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

0 commit comments

Comments
 (0)