摘要: 函数 函数定义与调用 // 定义(无参,无返回值) func sayHelloworld() { fmt.Println("hello world") } // 定义有参函数(形参) func sayHi(name string) { fmt.Println("你好:", name) } // 定义 阅读全文
posted @ 2022-04-30 15:23 元气少女郭德纲!! 阅读(45) 评论(0) 推荐(0) 编辑