2019
01-31
01-31
go语言初体验(流程控制、range遍历、函数、结构体、面向对象) NEW
一、流程控制
// main
package main
import (
"fmt"
)
func main() {
x := 2
switch x {
case 1:
fmt.Print("beifeng 1")
case 2:
fallthrough
case 3:
fmt.Print("beifeng 2")
default:
fmt.Print(...
Read More >