Use a GOPATH workspace format

This commit is contained in:
Mitchell Hashimoto 2013-03-23 00:41:25 -07:00
parent 4174c5f2f2
commit 1748ca31f6
3 changed files with 15 additions and 2 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/packer
/bin

9
example.json Normal file
View File

@ -0,0 +1,9 @@
{
"name": "ubuntu-12.04.2-server-amd64",
"builders": [
"virtualbox": {
"os_type": "Ubuntu_64",
}
]
}

View File

@ -1,8 +1,12 @@
// This is the main package for the `packer` application.
package main
import "fmt"
import (
"fmt"
"os"
)
func main() {
fmt.Printf("%#v\n", os.Args)
fmt.Println("Hello, world.")
}