Seems like the documentation doesn't match the implementation, or am I missing some Go syntax sugar magic?