v0.0.2
FIXED: * Ooops, fix go mod
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
{{- /*gotype: subnetter/cmd/subnetter.ReservedResults*/ -}}
|
||||
{{- /*gotype: r00t2.io/subnetter/cmd/subnetter.ReservedResults*/ -}}
|
||||
{{- $opts := . -}}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{{- /*gotype: subnetter/cmd/subnetter.TableArgs*/ -}}
|
||||
{{- /*gotype: r00t2.io/subnetter/cmd/subnetter.TableArgs*/ -}}
|
||||
{{- $opts := . -}}
|
||||
{{- $numRows := 0 -}}
|
||||
{{- if not $opts.NoIpv4 }}
|
||||
|
||||
@@ -10,15 +10,15 @@ import (
|
||||
"net"
|
||||
"net/netip"
|
||||
"os"
|
||||
`sort`
|
||||
"sort"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/goccy/go-yaml"
|
||||
"github.com/projectdiscovery/mapcidr"
|
||||
"go4.org/netipx"
|
||||
"subnetter/netsplit"
|
||||
`subnetter/version`
|
||||
"r00t2.io/subnetter/netsplit"
|
||||
"r00t2.io/subnetter/version"
|
||||
)
|
||||
|
||||
func printHostPrefix(label string, pfx *netip.Prefix, verb, indent int, indentStr string) (out string) {
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
`github.com/TwiN/go-color`
|
||||
`github.com/projectdiscovery/mapcidr`
|
||||
`go4.org/netipx`
|
||||
`subnetter/netsplit`
|
||||
`r00t2.io/subnetter/netsplit`
|
||||
)
|
||||
|
||||
// renderHdr renders a header. Note that the first line does *not* include the indent, but subsequent ones do.
|
||||
|
||||
@@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"bytes"
|
||||
"errors"
|
||||
`fmt`
|
||||
"fmt"
|
||||
"io"
|
||||
"log"
|
||||
"net"
|
||||
@@ -12,8 +12,8 @@ import (
|
||||
"strings"
|
||||
|
||||
"go4.org/netipx"
|
||||
"subnetter/netsplit"
|
||||
`subnetter/version`
|
||||
"r00t2.io/subnetter/netsplit"
|
||||
"r00t2.io/subnetter/version"
|
||||
|
||||
"github.com/jessevdk/go-flags"
|
||||
"r00t2.io/sysutils/paths"
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
`math/big`
|
||||
`net`
|
||||
"math/big"
|
||||
"net"
|
||||
"net/netip"
|
||||
|
||||
`subnetter/netsplit`
|
||||
"r00t2.io/subnetter/netsplit"
|
||||
)
|
||||
|
||||
// subnetResult is only used for human/"pretty" printing.
|
||||
|
||||
Reference in New Issue
Block a user