Update views.go

updated docs to reflect actual param name also added endkey doc id if type string