The entire Go code should be documented. Commenting/adding Godoc to _all_ types and functions (not only to public ones) should be sufficient here.