You can embed interface types. See the Interface type specification
type Student interface {
People
GetScore() int
GetSchoolName() string
}
You can embed interface types. See the Interface type specification
type Student interface {
People
GetScore() int
GetSchoolName() string
}