updated way of including local libraries.
This commit is contained in:
parent
9598e15616
commit
39559bb5a6
0
github.com/mikkelmilo/test.txt
Normal file
0
github.com/mikkelmilo/test.txt
Normal 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user