add: type assertion
This commit is contained in:
@@ -10,9 +10,8 @@ package main
|
||||
import "fmt"
|
||||
|
||||
type book struct {
|
||||
title string
|
||||
price money
|
||||
readTime int
|
||||
title string
|
||||
price money
|
||||
}
|
||||
|
||||
func (b book) print() {
|
||||
|
||||
Reference in New Issue
Block a user