chore: reformat code

This commit is contained in:
世界
2022-06-09 21:08:46 +08:00
parent 9a55213ddc
commit cd466f05d3
114 changed files with 159 additions and 185 deletions

View File

@@ -2,9 +2,10 @@ package logic
import (
"fmt"
"strings"
C "github.com/Dreamacro/clash/constant"
"github.com/Dreamacro/clash/rules/common"
"strings"
)
type AND struct {

View File

@@ -2,11 +2,12 @@ package logic
import (
"fmt"
"github.com/Dreamacro/clash/common/collections"
C "github.com/Dreamacro/clash/constant"
"regexp"
"strings"
_ "unsafe"
"github.com/Dreamacro/clash/common/collections"
C "github.com/Dreamacro/clash/constant"
)
//go:linkname parseRule github.com/Dreamacro/clash/rules.ParseRule

View File

@@ -1,9 +1,10 @@
package logic
import (
"testing"
"github.com/Dreamacro/clash/constant"
"github.com/stretchr/testify/assert"
"testing"
)
func TestAND(t *testing.T) {

View File

@@ -2,6 +2,7 @@ package logic
import (
"fmt"
C "github.com/Dreamacro/clash/constant"
"github.com/Dreamacro/clash/rules/common"
)

View File

@@ -2,9 +2,10 @@ package logic
import (
"fmt"
"strings"
C "github.com/Dreamacro/clash/constant"
"github.com/Dreamacro/clash/rules/common"
"strings"
)
type OR struct {