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
// ---------------------------------------------------------
// EXERCISE: Refactor to Array Literals
//
// 1. Use the 02-get-set-arrays exercise
//
// 2. Refactor the array assignments to array literals
//
// 1. You would need to change the array declarations to array literals
//
// 2. Then, you would need to move the right-hand side of the assignments,
// into the array literals.
//
// EXPECTED OUTPUT
// The output should be the same as the 02-get-set-arrays exercise.
// ---------------------------------------------------------
func main() {
}
你可能感兴趣的文章
go main
go main
go main
go main
go main
go Header
go main
go main
go main
go main