garm/vendor/github.com/go-macaroon-bakery/macaroon-bakery/v3/httpbakery/context_prego17.go
Gabriel Adrian Samfira c61b7fd268
Update go modules
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
2023-03-12 16:22:37 +02:00

12 lines
165 B
Go

// +build !go1.7
package httpbakery
import (
"context"
"net/http"
)
func contextFromRequest(req *http.Request) context.Context {
return context.Background()
}