refactor: 整理结构和 maker 构建方式
This commit is contained in:
5
main.go
5
main.go
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user