mirror of
https://github.com/crazybber/awesome-patterns.git
synced 2024-11-26 06:46:07 +03:00
added a playground example
This commit is contained in:
parent
87e8b9e074
commit
067d0b21f4
13
playground/main.go
Normal file
13
playground/main.go
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
package main
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
type Dog struct {
|
||||||
|
Name string
|
||||||
|
}
|
||||||
|
|
||||||
|
func (d *Dog) GetName() string {
|
||||||
|
return d.Name
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user