chore: hello mihomo

This commit is contained in:
wwqgtxx
2023-11-03 21:01:45 +08:00
parent 8c3557e96b
commit 17c9d507be
325 changed files with 1297 additions and 1315 deletions

View File

@@ -3,7 +3,7 @@ package fakeip
import (
"net/netip"
"github.com/Dreamacro/clash/component/profile/cachefile"
"github.com/metacubex/mihomo/component/profile/cachefile"
)
type cachefileStore struct {

View File

@@ -3,7 +3,7 @@ package fakeip
import (
"net/netip"
"github.com/Dreamacro/clash/common/cache"
"github.com/metacubex/mihomo/common/cache"
)
type memoryStore struct {

View File

@@ -6,9 +6,9 @@ import (
"strings"
"sync"
"github.com/Dreamacro/clash/common/nnip"
"github.com/Dreamacro/clash/component/profile/cachefile"
"github.com/Dreamacro/clash/component/trie"
"github.com/metacubex/mihomo/common/nnip"
"github.com/metacubex/mihomo/component/profile/cachefile"
"github.com/metacubex/mihomo/component/trie"
)
const (

View File

@@ -7,8 +7,8 @@ import (
"testing"
"time"
"github.com/Dreamacro/clash/component/profile/cachefile"
"github.com/Dreamacro/clash/component/trie"
"github.com/metacubex/mihomo/component/profile/cachefile"
"github.com/metacubex/mihomo/component/trie"
"github.com/stretchr/testify/assert"
"go.etcd.io/bbolt"
@@ -32,7 +32,7 @@ func createCachefileStore(options Options) (*Pool, string, error) {
if err != nil {
return nil, "", err
}
f, err := os.CreateTemp("", "clash")
f, err := os.CreateTemp("", "mihomo")
if err != nil {
return nil, "", err
}