refactor: Modular inbounds/outbounds

This commit is contained in:
世界
2024-11-07 14:29:09 +08:00
parent c313e2975b
commit 36015ef2d0
153 changed files with 3339 additions and 2923 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ package main
import (
"bytes"
"context"
"os"
"path/filepath"
@@ -38,7 +39,7 @@ func format() error {
return err
}
for _, optionsEntry := range optionsList {
optionsEntry.options, err = badjson.Omitempty(optionsEntry.options)
optionsEntry.options, err = badjson.Omitempty(context.TODO(), optionsEntry.options)
if err != nil {
return err
}