1. 首页
  2. 数据库
  3. 其它
  4. Go语言 Helloworld 协程体验 变量类型

Go语言 Helloworld 协程体验 变量类型

上传者: 2021-01-17 01:43:58上传 PDF文件 37.82KB 热度 10次
Go语言 Helloworld 协程体验 变量类型 HelloWorld // HelloWorld // 包名为main才会执行,否则不会执行 package main // 标准(格式化)输入输出 导入包 format import ( fmt ) // 主函数,行没有分号结束,格式化格式类似C func main() { fmt.Println(Hello,What's your name?developer.) var name string fmt.Scanf(%s, &name) fmt.Println(Hello + name + ,Welcome
下载地址
用户评论