github.com/yunabe/lgo@v0.0.0-20190709125917-42c42d410fdf/converter/testdata/twolgo.golden (about) 1 package lgo_exec 2 3 import pkg0 "lgo/pkg0" 4 func lgo_init() { 5 a = pkg0.f(3) 6 s = pkg0.st{ 7 value: 20, 8 } 9 b = s.value 10 c = s.getValue() 11 d = interface { 12 getValue() float32 13 }(&s) 14 f = d.getValue() 15 16 g = pkg0.getUnnamedStruct() 17 h = g 18 } 19 var ( 20 a int 21 s pkg0. 22 st 23 b int 24 c float32 25 d interface { 26 getValue() float32 27 } 28 f float32 29 g struct{ x int } 30 31 h struct{ x int } 32 )