func Get(client *gophercloud.ServiceClient, id string) GetResult {
	var gr GetResult
	_, gr.Err = client.Request("GET", getURL(client, id), gophercloud.RequestOpts{
		JSONResponse: &gr.Body,
	})
	return gr
}
Get instructs OpenStack to provide details on a single flavor, identified by its ID.
Use ExtractFlavor to convert its result into a Flavor.
package flavors
import (
	"github.com/rackspace/gophercloud"
	"github.com/rackspace/gophercloud/pagination"
)
type ListOptsBuilder interface {
	ToFlavorListQuery() (string, error)
}
type ListOpts struct {
	ChangesSince string `q:"changes-since"`
	MinDisk int `q:"minDisk"`
	MinRAM  int `q:"minRam"`
	Marker string `q:"marker"`
	Limit int `q:"limit"`
}
func (opts ListOpts) ToFlavorListQuery() (string, error) {
	q, err := gophercloud.BuildQueryString(opts)
	if err != nil {
		return "", err
	}
	return q.String(), nil
}
func ListDetail(client *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager {
	url := listURL(client)
	if opts != nil {
		query, err := opts.ToFlavorListQuery()
		if err != nil {
			return pagination.Pager{Err: err}
		}
		url += query
	}
	createPage := func(r pagination.PageResult) pagination.Page {
		return FlavorPage{pagination.LinkedPageBase{PageResult: r}}
	}
	return pagination.NewPager(client, url, createPage)
}