Files
2024-11-19 12:22:09 +01:00

14 lines
260 B
Go

package models
import "fmt"
type Student struct {
Person
Class string
}
// Presentation - Greet the teacher and show up
func (s Student) Presentation() string {
return fmt.Sprintf("Good morning teacher, I'm %s %s.\n", s.Person.Name, s.Person.LastName)
}