diff --git a/examples/errors/errors.hash b/examples/errors/errors.hash index aceb00c..d0b2112 100644 --- a/examples/errors/errors.hash +++ b/examples/errors/errors.hash @@ -1,2 +1,2 @@ -07cffb3d4e37162ab7e9e0a192561ddc8042b81a -BmDQXkPPTk +210ba0f8196006c0380acaec01655816848ef168 +mP_ZR1qjUvA diff --git a/examples/maps/maps.hash b/examples/maps/maps.hash index c5f8c38..57c1a72 100644 --- a/examples/maps/maps.hash +++ b/examples/maps/maps.hash @@ -1,2 +1,2 @@ -2895d63b87f88ab374256c12dd1539cf7b070b77 -E6cGoiKqka +3e39d07e3f80ecbac558c6fb8baee2a5f914cf97 +U67R66Oab8r diff --git a/examples/slices/slices.hash b/examples/slices/slices.hash index 68bb6a1..8b501cb 100644 --- a/examples/slices/slices.hash +++ b/examples/slices/slices.hash @@ -1,2 +1,2 @@ -d900c3b1cf2bd96591f7ad7ce7fd9e592ec31139 -dPQErsP6Yc +c6fa1627841f199dbf901f88580cb97eb92c5530 +Z3_U32sn8RF diff --git a/examples/variadic-functions/variadic-functions.hash b/examples/variadic-functions/variadic-functions.hash index 95ad82d..3c44a2b 100644 --- a/examples/variadic-functions/variadic-functions.hash +++ b/examples/variadic-functions/variadic-functions.hash @@ -1,2 +1,2 @@ -25bcf8d28adf0587d1959e88f32786d7f21872b2 -wRPLOM1VIH +34ba16069a5d972a837cc5c0172ab30873535220 +7f0JlVhToDD diff --git a/public/errors b/public/errors index ae50908..d402097 100644 --- a/public/errors +++ b/public/errors @@ -46,7 +46,7 @@ non-error tasks.
package main
A nil value in the error position indicates that +
A nil
value in the error position indicates that
there was no error.
If you want to programmatically use the data in -a custom error, you’ll need to get the error as an +a custom error, you’ll need to get the error as an instance of the custom error type via type assertion.
diff --git a/public/maps b/public/maps index 114b8d0..2829d28 100644 --- a/public/maps +++ b/public/maps @@ -40,7 +40,7 @@package main
Printing a map with e.g. Println
will show all of
+
Printing a map with e.g. fmt.Println
will show all of
its key/value pairs.
package main
append
, which
returns a slice containing one or more new values.
Note that we need to accept a return value from
-append as we may get a new slice value.
+append
as we may get a new slice value.
package main
Here’s a function that will take an arbitrary number
-of ints
as arguments.
int
s as arguments.