Created
June 13, 2012 15:55
-
-
Save ox/2924951 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package bar | |
import ( "fmt" ) | |
// should be in a folder called foo | |
func Bar() { | |
fmt.Println("bats"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
import foo "./foo" | |
func main() { | |
foo.Bar(); | |
fmt.Println("BOOM") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment