From 469774273cff8aa87259e466f7f3125b25522457 Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 8 Apr 2013 12:03:08 -0700 Subject: [PATCH 1/2] Fix typo --- examples/string-functions/string-functions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/string-functions/string-functions.go b/examples/string-functions/string-functions.go index aebcdf2..8a696e7 100644 --- a/examples/string-functions/string-functions.go +++ b/examples/string-functions/string-functions.go @@ -28,7 +28,7 @@ func main() { p("Replace: ", s.Replace("foo", "o", "0", -1)) p("Replace: ", s.Replace("foo", "o", "0", 1)) p("Split: ", s.Split("a-b-c-d-e", "-")) - p("toLower: ", s.ToLower("TEST")) + p("ToLower: ", s.ToLower("TEST")) p("ToUpper: ", s.ToUpper("test")) p() From 616ca3fc994e9d8436f759ce86cdeacf9f721549 Mon Sep 17 00:00:00 2001 From: adam Date: Mon, 8 Apr 2013 21:14:05 -0700 Subject: [PATCH 2/2] Fix typo in base64 example --- examples/base64-encoding/base64-encoding.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/base64-encoding/base64-encoding.sh b/examples/base64-encoding/base64-encoding.sh index a1980f2..8124a08 100644 --- a/examples/base64-encoding/base64-encoding.sh +++ b/examples/base64-encoding/base64-encoding.sh @@ -1,7 +1,7 @@ # The string encodes to slightly different values with the # standard and URL base64 encoders (trailing `+` vs `-`) # but they both decode to the original string as desired. -$ go run base64-encoding.sh +$ go run base64-encoding.go YWJjMTIzIT8kKiYoKSctPUB+ abc123!?$*&()'-=@~