func NewExampleGetRequest(server string) (*http.Request, error) {
	var err error

	queryUrl, err := url.Parse(server)
	if err != nil {
		return nil, err
	}

	basePath := fmt.Sprintf("/example")
	if basePath[0] == '/' {
		basePath = basePath[1:]
	}

	queryUrl, err = queryUrl.Parse(basePath)
	if err != nil {
		return nil, err
	}

	req, err := http.NewRequest("GET", queryUrl.String(), nil)
	if err != nil {
		return nil, err
	}

	return req, nil
}
// NewExampleGetRequest generates requests for ExampleGet
NewExampleGetRequest generates requests for ExampleGet
// NewExampleGetRequest generates requests for ExampleGet
func NewExampleGetRequest(server string) (*http.Request, error) {
	var err error
	queryUrl, err := url.Parse(server)
	if err != nil {
		return nil, err
	}
	basePath := fmt.Sprintf("/example")
	if basePath[0] == '/' {
		basePath = basePath[1:]
	}
	queryUrl, err = queryUrl.Parse(basePath)
	if err != nil {
		return nil, err
	}
	req, err := http.NewRequest("GET", queryUrl.String(), nil)
	if err != nil {
		return nil, err
	}
	return req, nil
}
func NewExampleGetRequest ( server string ) ( * http . Request , error ) { var err error queryUrl , err := url . Parse ( server ) if err != nil { return nil , err } basePath := fmt . Sprintf ( " " ) if basePath [ 0 ] == '/' { basePath = basePath [ 1 : ] } queryUrl , err = queryUrl . Parse ( basePath ) if err != nil { return nil , err } req , err := http . NewRequest ( " " , queryUrl . String ( ) , nil ) if err != nil { return nil , err } return req , nil }
NewExampleGetRequest generates requests for ExampleGet
NewExampleGetRequest generates requests for ExampleGet