code: func FuncHasQuery(sqlPackages sqlPackage, s *types.Signature) (offset int, ok bool) {
  	params := s.Params()
  	for i := 0; i < params.Len(); i++ {
  		v := params.At(i)
  		for _, paramName := range sqlPackages.paramNames {
  			if v.Name() == paramName {
  				return i, true
  			}
  		}
  	}
  	return 0, false
  }
docs: // FuncHasQuery returns the offset of the string parameter named "query", or
  // none if no such parameter exists.