From a651696f5314d5dea601cb5f0242c7fc549402d1 Mon Sep 17 00:00:00 2001 From: Mark McGranaghan Date: Wed, 24 Oct 2012 09:07:16 -0400 Subject: [PATCH] not helpful right now --- examples.txt | 1 - examples/new/new.go | 15 --------------- 2 files changed, 16 deletions(-) delete mode 100644 examples/new/new.go diff --git a/examples.txt b/examples.txt index 3d76288..719586c 100644 --- a/examples.txt +++ b/examples.txt @@ -15,7 +15,6 @@ Variadic Functions Closures Recursion Pointers -# New # Structs # Methods # Embedding diff --git a/examples/new/new.go b/examples/new/new.go deleted file mode 100644 index 17fc924..0000000 --- a/examples/new/new.go +++ /dev/null @@ -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) -}