首次提交:初始化项目代码

This commit is contained in:
sunct
2026-07-31 15:18:32 +08:00
commit d6393266b0
193 changed files with 14287 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
package main
import (
_ "database/sql" // 空白导入,仅执行包的初始化函数
f "fmt" // 为fmt包指定别名f
)
func main() {
f.Println("Hello, World!") // 使用别名
//fmt.Println(m.Pi) // 不使用别名
//fmt.Println(ToUpper("hello")) // 点导入,直接使用函数
}