Adds godoc to api package