no message

This commit is contained in:
yinjun.chen1
2026-07-28 17:45:29 +08:00
parent 8706c99ff9
commit 1637166b57
+12
View File
@@ -0,0 +1,12 @@
package main
import (
"fmt"
"syscall"
)
func main() {
// 在 main 函数最开始执行,将控制台输出编码设置为 UTF-8
syscall.MustLoadDLL("kernel32").MustFindProc("SetConsoleOutputCP").Call(65001)
fmt.Println("Hello, Go")
}