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
func main() {
// 取消下面一行的代码的注释,以查看错误。
/*
"Hello"
*/
// 会显示: "evaluted but not used"
//
// 因为:
// "Hello" 字面值返回了一个值但是
// 没有语句使用它
//
// 因此:
// 不能单独使用表达式而不使用语句
}
你可能感兴趣的文章
go main
go main
go main
go main
go main
go Header
go main
go main
go main
go main