Created
August 19, 2015 22:43
-
-
Save polds/3691bf937e1df56b036e to your computer and use it in GitHub Desktop.
Unrecognized Import Path
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
| docker run --rm -it \ | |
| -v "$(pwd)":/app \ | |
| -e "GOPATH=/gopath" \ | |
| -w /app \ | |
| golang:1.4.2 \ | |
| sh -c "go get -u -d ./... && go build -o example" |
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" | |
| ) | |
| func main() { | |
| fmt.Println("Hello, World") | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Outputs: