updated way of including local libraries.

This commit is contained in:
Mikkel Milo 2016-02-20 01:16:37 +01:00
parent 9598e15616
commit 39559bb5a6
3 changed files with 1 additions and 18 deletions

View File

View File

@ -1,7 +1,7 @@
package main package main
import( import(
"../src/lib/" "lib"
"fmt" "fmt"
) )

View File

@ -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
}