1 2 3 4 5 6 7 8 9 10 11 12
package main import . "./using_protected" func main() { f := NewFooBar() f.SetX(3) if f.Blah(4) != 4 { panic("blah(int)") } }