github.com/taylorchu/generic@v0.0.0-20171113184323-cd81575befa2/rewrite/_test/pkg/rename/file.go (about) 1 package rename 2 3 import "fmt" 4 5 var ( 6 A = map[int]string{ 7 1: "hello", 8 } 9 ) 10 11 const ( 12 X = 123 13 _ = 1 14 ) 15 16 type Struct struct { 17 Val Type 18 } 19 20 func (s Struct) hello() { 21 add() 22 fmt.Println(X, A) 23 }