zoukankan      html  css  js  c++  java
  • Golang基础——跳转语句 break,continue,goto

    跳转语句:

    break  continue  goto
    
    break:跳出一层循环
    continue:继续下一次循环
    goto:
        fmt.Println("aaa")
    	goto End  // 跳转到End标签
    	fmt.Println("bbb")
    End:  // End标签
    	fmt.Println("ccc")
    
  • 相关阅读:
    newgrp
    netstat
    netlink, PF_NETLINK
    netdevice
    mv
    mplayer
    mpg123
    MOVE
    motd
    more
  • 原文地址:https://www.cnblogs.com/pythonwl/p/14508383.html
Copyright © 2011-2022 走看看