Eliminate dotted imports of common for the sake of Log

This commit is contained in:
David Wragg committed 2015-08-03 14:07:16 +01:00
1 parent 7d6f85424c
commit 31c0506b85
8 files changed
+3 -13

No files matched your search

-2
View File
@@ -7,8 +7,6 @@ import (
"strconv"
"sync"
"time"
. "github.com/weaveworks/weave/common"
)
type Connection interface {
-2
View File
@@ -6,8 +6,6 @@ import (
"math/rand"
"net"
"time"
. "github.com/weaveworks/weave/common"
)
const (
-1
View File
@@ -6,7 +6,6 @@ import (
"github.com/google/gopacket"
"github.com/google/gopacket/layers"
. "github.com/weaveworks/weave/common"
)
type EthernetDecoder struct {
-2
View File
@@ -5,8 +5,6 @@ import (
"encoding/gob"
"fmt"
"sync"
. "github.com/weaveworks/weave/common"
)
type GossipChannel struct {
-2
View File
@@ -5,8 +5,6 @@ import (
"net"
"sync"
"time"
. "github.com/weaveworks/weave/common"
)
type LocalPeer struct {
-2
View File
@@ -9,8 +9,6 @@ import (
"sync"
"syscall"
"time"
. "github.com/weaveworks/weave/common"
)
const (
-1
View File
@@ -6,7 +6,6 @@ import (
"github.com/google/gopacket"
"github.com/google/gopacket/layers"
. "github.com/weaveworks/weave/common"
)
type UDPSender interface {
+3 -1
View File
@@ -7,9 +7,11 @@ import (
"fmt"
"net"
. "github.com/weaveworks/weave/common"
"github.com/weaveworks/weave/common"
)
var Log = common.Log
var void = struct{}{}
func checkFatal(e error) {