FIXED:
* Ooops, fix go mod
This commit is contained in:
brent saner
2025-03-10 10:07:08 -04:00
parent 2a780ae88a
commit 166fb3be23
8 changed files with 50 additions and 37 deletions

View File

@@ -1,2 +1,2 @@
{{- /*gotype: subnetter/cmd/subnetter.ReservedResults*/ -}}
{{- /*gotype: r00t2.io/subnetter/cmd/subnetter.ReservedResults*/ -}}
{{- $opts := . -}}

View File

@@ -1,4 +1,4 @@
{{- /*gotype: subnetter/cmd/subnetter.TableArgs*/ -}}
{{- /*gotype: r00t2.io/subnetter/cmd/subnetter.TableArgs*/ -}}
{{- $opts := . -}}
{{- $numRows := 0 -}}
{{- if not $opts.NoIpv4 }}

View File

@@ -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) {

View File

@@ -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.

View File

@@ -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"

View File

@@ -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.