diff options
| author | Christine Dodrill <me@christine.website> | 2018-12-03 17:52:52 -0800 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2018-12-03 17:52:52 -0800 |
| commit | be05e9f26f7b1b590412b7198705ff6f10509056 (patch) | |
| tree | 10ca23542b831ef2e1e73581caa676368b59e732 | |
| parent | 4d3aeafa9a22dd1e29371270995f82bc5ddcc5ce (diff) | |
| download | xesite-be05e9f26f7b1b590412b7198705ff6f10509056.tar.xz xesite-be05e9f26f7b1b590412b7198705ff6f10509056.zip | |
snaker
| -rw-r--r-- | blog/go-interfaces-considered-harmful-2018-12-03.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
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) ``` |
