chore: prune folder structure

This commit is contained in:
andig 2023-11-01 23:39:08 +01:00
parent 384cedae00
commit 54ab598602
15 changed files with 6 additions and 7 deletions

View file

@ -7,8 +7,8 @@ import (
"os"
"strings"
"github.com/evcc-io/evcc/detect"
"github.com/evcc-io/evcc/detect/tasks"
"github.com/evcc-io/evcc/cmd/detect"
"github.com/evcc-io/evcc/cmd/detect/tasks"
"github.com/evcc-io/evcc/util"
"github.com/korylprince/ipnetgen"
"github.com/olekukonko/tablewriter"
@ -53,7 +53,6 @@ func ParseHostIPNet(arg string) (res []string) {
}
_, ipnet, err := net.ParseCIDR(arg)
// simple host
if err != nil {
return []string{arg}

View file

@ -1,6 +1,6 @@
package detect
import "github.com/evcc-io/evcc/detect/tasks"
import "github.com/evcc-io/evcc/cmd/detect/tasks"
type Criteria map[string]interface{}

View file

@ -1,7 +1,7 @@
package detect
import (
"github.com/evcc-io/evcc/detect/tasks"
"github.com/evcc-io/evcc/cmd/detect/tasks"
)
var (

View file

@ -4,7 +4,7 @@ import (
"fmt"
"sync"
"github.com/evcc-io/evcc/detect/tasks"
"github.com/evcc-io/evcc/cmd/detect/tasks"
"github.com/evcc-io/evcc/util"
)

View file

@ -5,7 +5,7 @@ import (
"strings"
"sync"
"github.com/evcc-io/evcc/detect/tasks"
"github.com/evcc-io/evcc/cmd/detect/tasks"
"github.com/evcc-io/evcc/util"
"github.com/fatih/structs"
"github.com/jeremywohl/flatten"