mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 12:35:10 +03:00
10 lines
135 B
Go
10 lines
135 B
Go
|
package main
|
||
|
|
||
|
type Human struct {
|
||
|
name string
|
||
|
}
|
||
|
|
||
|
// Returns the name of our Human.
|
||
|
func (h *Human) GetName() string {
|
||
|
return h.name
|
||
|
}
|