1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-24 04:22:22 +00:00
This commit is contained in:
Xargin 2019-01-01 20:52:06 +08:00
parent 7a0fbea431
commit cb93277036

View File

@ -236,7 +236,7 @@ func main() {
BookOrderCreator does not implement OrderCreator (missing CreateOrder method) BookOrderCreator does not implement OrderCreator (missing CreateOrder method)
``` ```
所以interface也可以认为是一种编译期进行检查的保证类型安全的手段。 所以接口也可以认为是一种编译期进行检查的保证类型安全的手段。
## 5.8.5 表驱动开发 ## 5.8.5 表驱动开发