Cleans up import sorting.

This commit is contained in:
James Phillips 2017-10-21 20:08:11 -07:00
parent e38d53f3c2
commit 2e7d048345
No known key found for this signature in database
GPG Key ID: 77183E682AC5FC11
3 changed files with 5 additions and 4 deletions

View File

@ -2,20 +2,20 @@ package agent
import (
"bytes"
"crypto/tls"
"encoding/json"
"fmt"
"io"
"log"
"net/http"
"os"
"os/exec"
"strconv"
"crypto/tls"
"github.com/armon/circbuf"
"github.com/hashicorp/consul/watch"
"github.com/hashicorp/go-cleanhttp"
"golang.org/x/net/context"
"net/http"
)
const (

View File

@ -1,13 +1,14 @@
package agent
import (
"github.com/hashicorp/consul/watch"
"io/ioutil"
"net/http"
"net/http/httptest"
"os"
"testing"
"time"
"github.com/hashicorp/consul/watch"
)
func TestMakeWatchHandler(t *testing.T) {

View File

@ -5,10 +5,10 @@ import (
"fmt"
"io"
"sync"
"time"
consulapi "github.com/hashicorp/consul/api"
"github.com/mitchellh/mapstructure"
"time"
)
const DefaultTimeout = 10 * time.Second