add documentation for godoc