diff --git a/blog/go-interfaces-considered-harmful-2018-12-03.markdown b/blog/go-interfaces-considered-harmful-2018-12-03.markdown index d2e7ecb..bb7a1e6 100644 --- a/blog/go-interfaces-considered-harmful-2018-12-03.markdown +++ b/blog/go-interfaces-considered-harmful-2018-12-03.markdown @@ -40,7 +40,7 @@ type Snaker interface { func grope(id int, thing interface{}) { switch thing.(type) { - case Trunker: + case Snaker: log.Printf("man %d: this thing is like a thick snake", id) ```