mirror of
https://github.com/traefik/yaegi.git
synced 2026-06-01 18:37:56 +00:00
* gi: rename gi_c into _gi_c * gi: rename test into _test * gi: fix README syntax
15 lines
111 B
Go
15 lines
111 B
Go
package main
|
|
|
|
type T struct {
|
|
f int
|
|
g int
|
|
}
|
|
|
|
func main() {
|
|
a := T{}
|
|
println(a.f, a.g)
|
|
}
|
|
|
|
// Output:
|
|
// 0 0
|