Skip to content
Snippets Groups Projects
Commit 125fb845 authored by Luca Moser's avatar Luca Moser
Browse files

use pflag and format imports

parent c4a0dacd
No related branches found
No related tags found
No related merge requests found
package node
import (
"github.com/iotaledger/hive.go/parameter"
"sync"
"github.com/iotaledger/hive.go/parameter"
"github.com/iotaledger/goshimmer/packages/daemon"
)
......
package node
import (
"flag"
flag "github.com/spf13/pflag"
)
const (
......
package parameters
import (
"flag"
flag "github.com/spf13/pflag"
)
const (
......
package tcp
import (
"math"
"net"
"github.com/iotaledger/goshimmer/packages/daemon"
"github.com/iotaledger/goshimmer/packages/network"
"github.com/iotaledger/goshimmer/packages/network/tcp"
......@@ -12,8 +15,6 @@ import (
"github.com/iotaledger/hive.go/events"
"github.com/iotaledger/hive.go/parameter"
"github.com/pkg/errors"
"math"
"net"
)
var server = tcp.NewServer()
......
package cli
import (
"flag"
"fmt"
"github.com/iotaledger/hive.go/parameter"
"os"
"path/filepath"
"sort"
"strings"
"github.com/iotaledger/hive.go/parameter"
flag "github.com/spf13/pflag"
"github.com/iotaledger/goshimmer/packages/node"
)
......
package cli
import (
"flag"
"fmt"
"github.com/iotaledger/hive.go/events"
"strings"
"github.com/iotaledger/hive.go/events"
flag "github.com/spf13/pflag"
"github.com/iotaledger/goshimmer/packages/node"
"github.com/iotaledger/hive.go/parameter"
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment