整理代码

This commit is contained in:
2024-03-22 16:10:15 +08:00
parent cb65b2f453
commit 07c9d93767
16 changed files with 428 additions and 442 deletions

View File

@ -2,9 +2,10 @@ package cmd
import (
"fmt"
"github.com/spf13/cobra"
"os"
. "sub2sing-box/common"
"sub2sing-box/common"
"github.com/spf13/cobra"
)
var subscriptions []string
@ -39,7 +40,7 @@ var convertCmd = &cobra.Command{
Run: func(cmd *cobra.Command, args []string) {
result := ""
var err error
result, err = Convert(
result, err = common.Convert(
subscriptions,
proxies,
template,