fix: unignore cmd/easy_proxies for GitHub Actions build

This commit is contained in:
xiamuceer-j
2026-03-02 13:19:25 +08:00
parent 8163e4c193
commit f116039a39
2 changed files with 30 additions and 3 deletions
+27
View File
@@ -0,0 +1,27 @@
package main
import (
"context"
"flag"
"fmt"
"os"
"easy_proxies/internal/app"
"easy_proxies/internal/config"
)
func main() {
configPath := flag.String("config", "config.yaml", "path to config file")
flag.Parse()
cfg, err := config.Load(*configPath)
if err != nil {
fmt.Fprintf(os.Stderr, "failed to load config: %v\n", err)
os.Exit(1)
}
if err := app.Run(context.Background(), cfg); err != nil {
fmt.Fprintf(os.Stderr, "fatal: %v\n", err)
os.Exit(1)
}
}