mirror of
https://github.com/crazybber/awesome-patterns.git
synced 2025-02-16 21:53:13 +03:00
14 lines
116 B
Go
14 lines
116 B
Go
package main
|
|
|
|
func main() {
|
|
|
|
}
|
|
|
|
type Dog struct {
|
|
Name string
|
|
}
|
|
|
|
func (d *Dog) GetName() string {
|
|
return d.Name
|
|
}
|