refactor: stringer

This commit is contained in:
Inanc Gumus
2019-09-27 19:09:07 +03:00
parent 0127b45c1e
commit e6eba7314f
16 changed files with 130 additions and 65 deletions

View File

@@ -8,7 +8,8 @@
package main
type toy struct {
// game satisfies the fmt.Stringer
// because the product satisfies the fmt.Stringer
// toy is an fmt.Stringer
// because the product is an fmt.Stringer
// and the toy embeds the product
product
}