write godoc