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
// ---------------------------------------------------------
// 练习: 交换器 #2
//
// 1. 交换 `red` 和 `blue` 这两个变量的值
//
// 2. 打印它们
//
// 期望输出
// blue red
// ---------------------------------------------------------
func main() {
// 去掉下面代码的注释:
// red, blue := "red", "blue"
// ?
}
你可能感兴趣的文章
go main
go main
go main
go main
go main
go Header
go main
go main
go main
go main