Files
pro-go-study/10-Structs/structs/go.mod
yanzuoguang c885af3672 feat(go): 添加函数类型和计算器实现- 新增 funcTypes.go 文件,定义 calcFunc 类型及其实现
- 新增 funcTypes1.go 文件,使用匿名函数实现计算器逻辑
- 修改 main.go 调用新增的 main1 和 main2 函数- 初始化 structs 模块的 go.mod 文件
- 恢复 structs/main.go 原始内容并保留调试提示注释
2025-10-06 19:18:06 +08:00

4 lines
24 B
Modula-2