chore: prune folder structure
This commit is contained in:
parent
384cedae00
commit
54ab598602
15 changed files with 6 additions and 7 deletions
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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{}
|
||||
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
package detect
|
||||
|
||||
import (
|
||||
"github.com/evcc-io/evcc/detect/tasks"
|
||||
"github.com/evcc-io/evcc/cmd/detect/tasks"
|
||||
)
|
||||
|
||||
var (
|
||||
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
@ -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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue