func QueryStringExtractor(param string) TokenExtractor {
	return func(r *http.Request) (string, error) {
		if query := r.URL.Query().Get(param); query != "" {
			return query, nil
		}
		return "", errors.New("could not get query string value")
	}
}
// QueryStringExtractor gets the jwt token from the query string
// defined on the given query param
QueryStringExtractor gets the jwt token from the query string
defined on the given query param
// QueryStringExtractor gets the jwt token from the query string // defined on the given query param
func QueryStringExtractor(param string) TokenExtractor {
	return func(r *http.Request) (string, error) {
		if query := r.URL.Query().Get(param); query != "" {
			return query, nil
		}
		return "", errors.New("could not get query string value")
	}
}
func QueryStringExtractor ( param string ) TokenExtractor { return func ( r * http . Request ) ( string , error ) { if query := r . URL . Query ( ) . Get ( param ) ; query != " " { return query , nil } return " " , errors . New ( " " ) } }
QueryStringExtractor gets the jwt token from the query string
defined on the given query param
QueryStringExtractor gets the jwt token from the query string defined on the given query param