File tree 9 files changed +24
-15
lines changed
9 files changed +24
-15
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,12 @@ import (
4
4
"context"
5
5
"errors"
6
6
"fmt"
7
- "github.com/Piszmog/cfservices"
8
- "golang.org/x/oauth2/clientcredentials"
9
7
"net/http"
10
8
"os"
11
9
"strings"
10
+
11
+ "github.com/Piszmog/cfservices"
12
+ "golang.org/x/oauth2/clientcredentials"
12
13
)
13
14
14
15
const (
Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ package cloudconfigclient_test
3
3
import (
4
4
"context"
5
5
"errors"
6
- "github.com/Piszmog/cloudconfigclient/v2"
7
- "github.com/stretchr/testify/require"
8
- "golang.org/x/oauth2/clientcredentials"
9
6
"net/http"
10
7
"os"
11
8
"testing"
9
+
10
+ "github.com/Piszmog/cloudconfigclient/v2"
11
+ "github.com/stretchr/testify/require"
12
+ "golang.org/x/oauth2/clientcredentials"
12
13
)
13
14
14
15
func TestNew (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -2,11 +2,12 @@ package cloudconfigclient_test
2
2
3
3
import (
4
4
"errors"
5
+ "net/http"
6
+ "testing"
7
+
5
8
"github.com/Piszmog/cloudconfigclient/v2"
6
9
"github.com/stretchr/testify/assert"
7
10
"github.com/stretchr/testify/require"
8
- "net/http"
9
- "testing"
10
11
)
11
12
12
13
const (
Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ package main
2
2
3
3
import (
4
4
"fmt"
5
- "github.com/Piszmog/cloudconfigclient/v2"
6
5
"log"
7
6
"strings"
7
+
8
+ "github.com/Piszmog/cloudconfigclient/v2"
8
9
)
9
10
10
11
func main () {
Original file line number Diff line number Diff line change @@ -2,10 +2,11 @@ package main
2
2
3
3
import (
4
4
"fmt"
5
- "github.com/Piszmog/cloudconfigclient/v2"
6
5
"log"
7
6
"net/http"
8
7
"strings"
8
+
9
+ "github.com/Piszmog/cloudconfigclient/v2"
9
10
)
10
11
11
12
func main () {
Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ package main
2
2
3
3
import (
4
4
"fmt"
5
- "github.com/Piszmog/cloudconfigclient/v2"
6
5
"log"
7
6
"strings"
7
+
8
+ "github.com/Piszmog/cloudconfigclient/v2"
8
9
)
9
10
10
11
func main () {
Original file line number Diff line number Diff line change @@ -5,12 +5,13 @@ import (
5
5
"encoding/xml"
6
6
"errors"
7
7
"fmt"
8
- "gopkg.in/yaml.v3"
9
8
"io/ioutil"
10
9
"net/http"
11
10
"net/url"
12
11
"path"
13
12
"strings"
13
+
14
+ "gopkg.in/yaml.v3"
14
15
)
15
16
16
17
// HTTPClient is a wrapper for http.Client.
Original file line number Diff line number Diff line change @@ -3,11 +3,12 @@ package cloudconfigclient_test
3
3
import (
4
4
"bytes"
5
5
"errors"
6
- "github.com/Piszmog/cloudconfigclient/v2"
7
- "github.com/stretchr/testify/require"
8
6
"io/ioutil"
9
7
"net/http"
10
8
"testing"
9
+
10
+ "github.com/Piszmog/cloudconfigclient/v2"
11
+ "github.com/stretchr/testify/require"
11
12
)
12
13
13
14
type RoundTripFunc func (req * http.Request ) * http.Response
Original file line number Diff line number Diff line change @@ -2,10 +2,11 @@ package cloudconfigclient_test
2
2
3
3
import (
4
4
"errors"
5
- "github.com/Piszmog/cloudconfigclient/v2"
6
- "github.com/stretchr/testify/require"
7
5
"net/http"
8
6
"testing"
7
+
8
+ "github.com/Piszmog/cloudconfigclient/v2"
9
+ "github.com/stretchr/testify/require"
9
10
)
10
11
11
12
const (
You can’t perform that action at this time.
0 commit comments