From b904f383c188b193834ca7101ca588d3c46adf44 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Wed, 26 Jun 2019 19:28:30 +0100 Subject: [PATCH] go fmt --- network/default.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/network/default.go b/network/default.go index 90164d33..8ee82b04 100644 --- a/network/default.go +++ b/network/default.go @@ -4,8 +4,8 @@ import ( "sync" "github.com/micro/go-micro/config/options" - "github.com/micro/go-micro/network/router" "github.com/micro/go-micro/network/proxy" + "github.com/micro/go-micro/network/router" ) type network struct { @@ -21,7 +21,7 @@ type network struct { id string // links maintained for this network - mtx sync.RWMutex + mtx sync.RWMutex links []Link } @@ -32,14 +32,14 @@ type node struct { address string } - type link struct { // the embedded node *node // length and weight of the link - mtx sync.RWMutex - length, weight int + mtx sync.RWMutex + length int + weight int } // network methods