File tree Expand file tree Collapse file tree
samples/client/petstore/go Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package main
22
33import (
4+ "context"
45 "net/http"
56 "net/http/httputil"
67 "strings"
78 "testing"
89 "time"
910
10- "golang.org/x/net/context"
11-
1211 "golang.org/x/oauth2"
1312
1413 sw "./go-petstore"
Original file line number Diff line number Diff line change 11package main
22
33import (
4+ "context"
45 "fmt"
56 "os"
67 "testing"
78
8- sw "./go-petstore"
9- "golang.org/x/net/context"
10-
119 "github.com/antihax/optional"
1210 "github.com/stretchr/testify/assert"
11+
12+ sw "./go-petstore"
1313)
1414
1515var client * sw.APIClient
Original file line number Diff line number Diff line change 11package main
22
33import (
4+ "context"
45 "testing"
56 "time"
67
78 sw "./go-petstore"
8- "golang.org/x/net/context"
99)
1010
1111func TestPlaceOrder (t * testing.T ) {
Original file line number Diff line number Diff line change 11package main
22
33import (
4+ "context"
45 "testing"
56
6- sw "./go-petstore"
7- "golang.org/x/net/context"
8-
97 "github.com/stretchr/testify/assert"
8+
9+ sw "./go-petstore"
1010)
1111
1212func TestCreateUser (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments