func newMacaroonJar(cache MacaroonCache, serverURL *url.URL) (*macaroonJar, error) {
	jar, err := cookiejar.New(nil)
	if err != nil {
		return nil, errors.Trace(err)
	}
	return &macaroonJar{
		underlying: jar,
		cache:      cache,
		serverURL:  serverURL,
	}, nil
}
// newMacaroonJar returns a new macaroonJar wrapping the given cache and
// expecting to be used against the given URL.  Both the cache and url must
// be non-nil.
newMacaroonJar returns a new macaroonJar wrapping the given cache and
expecting to be used against the given URL.  Both the cache and url must
be non-nil.
// newMacaroonJar returns a new macaroonJar wrapping the given cache and // expecting to be used against the given URL . Both the cache and url must // be non - nil .
func newMacaroonJar(cache MacaroonCache, serverURL *url.URL) (*macaroonJar, error) {
	jar, err := cookiejar.New(nil)
	if err != nil {
		return nil, errors.Trace(err)
	}
	return &macaroonJar{
		underlying: jar,
		cache:      cache,
		serverURL:  serverURL,
	}, nil
}
func newMacaroonJar ( cache MacaroonCache , serverURL * url . URL ) ( * macaroonJar , error ) { jar , err := cookiejar . New ( nil ) if err != nil { return nil , errors . Trace ( err ) } return & macaroonJar { underlying : jar , cache : cache , serverURL : serverURL , } , nil }
newMacaroonJar returns a new macaroonJar wrapping the given cache and
expecting to be used against the given URL.
newMacaroonJar returns a new macaroonJar wrapping the given cache and expecting to be used against the given URL .