format with goimports

This commit is contained in:
siddontang 2015-05-05 08:45:01 +08:00
parent 530a231625
commit b151716326
12 changed files with 793 additions and 792 deletions

View File

@ -31,7 +31,6 @@ func (h *StreamHandler) Close() error {
return nil return nil
} }
//NullHandler does nothing, it discards anything. //NullHandler does nothing, it discards anything.
type NullHandler struct { type NullHandler struct {
} }

View File

@ -1,12 +1,13 @@
package websocket package websocket
import ( import (
"github.com/gorilla/websocket"
"net" "net"
"net/http" "net/http"
"net/url" "net/url"
"testing" "testing"
"time" "time"
"github.com/gorilla/websocket"
) )
func TestWSClient(t *testing.T) { func TestWSClient(t *testing.T) {

View File

@ -1,12 +1,13 @@
package websocket package websocket
import ( import (
"github.com/gorilla/websocket"
"net" "net"
"net/http" "net/http"
"net/url" "net/url"
"testing" "testing"
"time" "time"
"github.com/gorilla/websocket"
) )
func TestWSServer(t *testing.T) { func TestWSServer(t *testing.T) {