examples: change size to integer

This commit is contained in:
Simon Eskildsen
2014-03-14 16:17:18 -04:00
parent c26c4c5ff6
commit 7d02fa59d7
2 changed files with 10 additions and 10 deletions
+3 -3
View File
@@ -11,7 +11,7 @@ func main() {
for {
log.WithFields(logrus.Fields{
"animal": "walrus",
"size": "10",
"size": 10,
}).Print("A group of walrus emerges from the ocean")
log.WithFields(logrus.Fields{
@@ -21,12 +21,12 @@ func main() {
log.WithFields(logrus.Fields{
"animal": "walrus",
"size": "10",
"size": 10,
}).Print("A giant walrus appears!")
log.WithFields(logrus.Fields{
"animal": "walrus",
"size": "9",
"size": 9,
}).Print("Tremendously sized cow enters the ocean.")
log.WithFields(logrus.Fields{