remove number for source

This commit is contained in:
Mark McGranaghan
2012-10-07 02:00:54 -04:00
parent beaad143c4
commit 2c4dea2b8e
134 changed files with 0 additions and 0 deletions

16
src/pointers/pointers.go Normal file
View File

@@ -0,0 +1,16 @@
// ## Pointers
package main
import "fmt"
func zero(xPtr *int) {
*xPtr = 0
}
func main() {
x := 5
fmt.Println(x)
zero(&x)
fmt.Println(x)
}