diff options
| author | Christine Dodrill <me@christine.website> | 2018-12-03 18:37:15 -0800 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2018-12-03 18:37:15 -0800 |
| commit | 56e8ebc1cbb3820033ab6dada01d4abb5ea91afb (patch) | |
| tree | a4cdadb710a3d60bcf010c24e79c06bb3400954a | |
| parent | be05e9f26f7b1b590412b7198705ff6f10509056 (diff) | |
| download | xesite-56e8ebc1cbb3820033ab6dada01d4abb5ea91afb.tar.xz xesite-56e8ebc1cbb3820033ab6dada01d4abb5ea91afb.zip | |
error
| -rw-r--r-- | blog/go-interfaces-considered-harmful-2018-12-03.markdown | 4 |
1 files changed, 3 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 bb7a1e6..dc80d36 100644 --- a/blog/go-interfaces-considered-harmful-2018-12-03.markdown +++ b/blog/go-interfaces-considered-harmful-2018-12-03.markdown @@ -10,7 +10,9 @@ A group of blind men heard that a strange animal had been brought to the town fu ``` package blindmen -type Animal interface{} +type Animal interface{ + error +} func Town(strangeAnimal Animal) { ``` |
