From 39559bb5a65d500a7b478cf0f2f260d5f8d07d1f Mon Sep 17 00:00:00 2001 From: milo Date: Sat, 20 Feb 2016 01:16:37 +0100 Subject: [PATCH] updated way of including local libraries. --- github.com/mikkelmilo/test.txt | 0 hello.go | 2 +- helloStack.go | 17 ----------------- 3 files changed, 1 insertion(+), 18 deletions(-) create mode 100644 github.com/mikkelmilo/test.txt delete mode 100644 helloStack.go diff --git a/github.com/mikkelmilo/test.txt b/github.com/mikkelmilo/test.txt new file mode 100644 index 0000000..e69de29 diff --git a/hello.go b/hello.go index d36616d..5395750 100644 --- a/hello.go +++ b/hello.go @@ -1,7 +1,7 @@ package main import( - "../src/lib/" + "lib" "fmt" ) diff --git a/helloStack.go b/helloStack.go deleted file mode 100644 index bfef3fd..0000000 --- a/helloStack.go +++ /dev/null @@ -1,17 +0,0 @@ -package collection_test - -import ( - collection "." - "fmt" -) - -func Example() { - var s collection.Stack - s.Push("world") - s.Push("hello, ") - for s.Size() > 0 { - fmt.Print(s.Pop()) - } - fmt.Println() - // Output: hello, world -}