From be05e9f26f7b1b590412b7198705ff6f10509056 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Mon, 3 Dec 2018 17:52:52 -0800 Subject: [PATCH] snaker --- blog/go-interfaces-considered-harmful-2018-12-03.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ```