remove number for source
This commit is contained in:
18
src/defer/defer.go
Normal file
18
src/defer/defer.go
Normal file
@@ -0,0 +1,18 @@
|
||||
// ## Defer
|
||||
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func first() {
|
||||
fmt.Println("1st")
|
||||
}
|
||||
|
||||
func second() {
|
||||
fmt.Println("2nd")
|
||||
}
|
||||
|
||||
func main() {
|
||||
defer second()
|
||||
first()
|
||||
}
|
||||
Reference in New Issue
Block a user