refactor: 整理结构和 maker 构建方式

This commit is contained in:
zhaoyupeng
2025-11-27 11:06:38 +08:00
parent 11523e3e48
commit fdad0eb36c
63 changed files with 137 additions and 153 deletions

View File

@@ -5,10 +5,15 @@ import (
"os"
"os/signal"
"syscall"
"time"
"yizhisec.com/hsv2/forge/internal/cmd"
)
func init() {
time.Local = time.FixedZone("CST", 8*60*60)
}
func main() {
ctx, cancel := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)
defer cancel()