Edits and generation for type switch update

This commit is contained in:
Mark McGranaghan
2016-12-27 12:41:21 -08:00
parent bee8f55277
commit a3b3bff8cb
4 changed files with 61 additions and 30 deletions

View File

@@ -1,7 +1,7 @@
$ go run switch.go
write 2 as two
it's the weekend
it's before noon
I am an int
I am a bool
Can't handle type string
Write 2 as two
It's a weekday
It's after noon
I'm a bool
I'm an int
Don't know type string