Now I got all of em
continuous-integration/drone/push Build is passing Details

drafts
unknown 5 months ago
parent fee67865f3
commit 6996860e2c

@ -30,11 +30,11 @@ type Dog struct {
func (d Dog) Move(x, y int) (int, int) {
return x, y
}
{{< / highlight >}}
```
Dog is now a Mover! No need for keywords like `implements`. The compiler just checks at the various boundaries in your app, like struct definitions and function signatures.
{{< highlight go "linenos=table">}}
```go
type Map struct {
Actors []Mover
}

Loading…
Cancel
Save