Open imjasonh opened 8 years ago
Given some Go source like this:
a := "foo" b := 100 c := true s := someStruct{a, b, c} fmt.Printf("hello %d, %v", b, s)
Inline all the inline-able variables only used once and print out:
b := 100 s := someStruct("foo", b, true} fmt.Printf("hello %d, %v", b, s)
Given some Go source like this:
Inline all the inline-able variables only used once and print out: