Fix Getting funky with functions

Since Go 1, there have been some changes in the `error` handling. Some things got moved into different packages, some got "promoted" (like the `os.Error` => `error`).

Fixes #34

Thanks for this great tutorial, it is really nicely written!