package main

import (
	"fmt"
)

type test struct {
	attr string
}

func issue1() {
	fmt.Println(&test{
		attr: "test",
	})
}

package main

import (
	"fmt"
)

type test struct {
	attr string
}

func main() {
	fmt.Println(&test{
		attr: "test",
	})
}

--- 
+++ 
@@ -8,7 +8,7 @@
 	attr string
 }
 
-func main() {
+func issue1() {
 	fmt.Println(&test{
 		attr: "test",
 	})
Fix go get on travis
