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 ( import (
"bytes" "bytes"
"crypto/tls"
"encoding/json" "encoding/json"
"fmt" "fmt"
"io" "io"
"log" "log"
"net/http"
"os" "os"
"os/exec" "os/exec"
"strconv" "strconv"
"crypto/tls"
"github.com/armon/circbuf" "github.com/armon/circbuf"
"github.com/hashicorp/consul/watch" "github.com/hashicorp/consul/watch"
"github.com/hashicorp/go-cleanhttp" "github.com/hashicorp/go-cleanhttp"
"golang.org/x/net/context" "golang.org/x/net/context"
"net/http"
) )
const ( const (

View File

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

View File

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