| 1234567891011121314151617181920212223242526272829303132333435363738 | package paramimport (	"context"	"net/url")func GetQuery(c context.Context) url.Values {	query := c.Value("query")	if _, ok := query.(url.Values); ok {		return query.(url.Values)	}	return url.Values{}}func GetFromPath(c context.Context) string {	path := c.Value("from_path")	if _, ok := path.(string); ok {		return path.(string)	}	return ""}func GetBody(c context.Context) []byte {	body := c.Value("body")	if _, ok := body.([]byte); ok {		return body.([]byte)	}	return nil}func GetUri(c context.Context) string {	uri := c.Value("uri")	if _, ok := uri.(string); ok {		return uri.(string)	}	return ""}
 |