main.go 源码
// Copyright © 2018 Inanc Gumus
// Learn Go Programming Course
// License: https://creativecommons.org/licenses/by-nc-sa/4.0/
//
// For more tutorials : https://learngoprogramming.com
// In-person training : https://www.linkedin.com/in/inancgumus/
// Follow me on twitter: https://twitter.com/inancgumus
package main
// ---------------------------------------------------------
// 练习: 声明 string
//
// 1. 声明一个 string 型变量
//
// 2. 打印这个变量
//
// 期望输出
// ""
// ---------------------------------------------------------
func main() {
// 使用下面的代码
// 你会在之后学习到 Printf 函数
// var ?
// fmt.Printf("s (%T): %q\n", s, s)
// %T 打印变量的类型
// %q 打印一个空字符串
}
你可能感兴趣的文章
go main
go main
go main
go main
go main
go Header
go main
go main
go main
go main