gobyexample/examples/struct-embedding/struct-embedding.sh
peterzhu1992 7798376aa3
Minor tweaks
Signed-off-by: peterzhu1992 <peterzhu1992@gmail.com>
2022-05-17 01:25:01 -04:00

6 lines
122 B
Bash

$ go run struct-embedding.go
co={num: 1, str: some name}
also num: 1
describe: base with num=1
describer: base with num=1