not helpful right now

This commit is contained in:
Mark McGranaghan 2012-10-24 09:07:16 -04:00
parent 1e78bcb2a7
commit a651696f53
2 changed files with 0 additions and 16 deletions

View File

@ -15,7 +15,6 @@ Variadic Functions
Closures Closures
Recursion Recursion
Pointers Pointers
# New
# Structs # Structs
# Methods # Methods
# Embedding # Embedding

View File

@ -1,15 +0,0 @@
package main
import "fmt"
func one(xPtr *int) {
*xPtr = 1
}
func main() {
xPtr := new(int)
fmt.Println(xPtr)
fmt.Println(*xPtr)
one(xPtr)
fmt.Println(xPtr)
fmt.Println(*xPtr)
}