Flying Orange
  • Home
  • Python
  • Golang
  • Docker
  • PHP
  • 中文博客
  • Reward打赏

golang

golang related blogs and examples

golang

GO:The usage of 'defer'

defer is very useful in control. It is used within a function.If a function contains one or multiple defer command, it will not really return or finish unless all the functions followed

  • Orange
1 min read
golang

GO:Channel and Select

The select statement lets a goroutine wait on multiple communication operations.A select blocks until one of its cases can run, then it executes that case. It chooses one at random if multiple

  • Orange
1 min read
Flying Orange © 2018
Latest Posts Facebook Twitter Ghost