Difference between revisions of "Defer"

From wikieduonline
Jump to navigation Jump to search
Line 16: Line 16:
 
== See also ==
 
== See also ==
 
* {{Go}}
 
* {{Go}}
 +
* {{flow}}
  
 
[[Category:Go]]
 
[[Category:Go]]

Revision as of 15:55, 21 August 2022

package main

import "fmt"

func main() {
	defer fmt.Println("world")

	fmt.Println("hello")
}

See also

Advertising: