// Doc returns a DocumentRef that refers to the document in the collection with the
// given identifier.
Doc returns a DocumentRef that refers to the document in the collection with the
given identifier.
// Doc returns a DocumentRef that refers to the document in the collection with the // given identifier .
func (c *CollectionRef) Doc(id string) *DocumentRef {
	if c == nil {
		return nil
	}
	return newDocRef(c, id)
}
func ( c * CollectionRef ) Doc ( id string ) * DocumentRef { if c == nil { return nil } return newDocRef ( c , id ) }
Doc returns a DocumentRef that refers to the document in the collection with the
given identifier.
Doc returns a DocumentRef that refers to the document in the collection with the given identifier .