Skip to content

Instantly share code, notes, and snippets.

@ox
Created June 13, 2012 15:55
Show Gist options
  • Save ox/2924951 to your computer and use it in GitHub Desktop.
Save ox/2924951 to your computer and use it in GitHub Desktop.
package bar
import ( "fmt" )
// should be in a folder called foo
func Bar() {
fmt.Println("bats");
}
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