Skip to content

proposal: must: Do #54297

@bradfitz

Description

@bradfitz

I always find it tedious to use httputil.ReverseProxy because you usually need a *url.URL and you can't make one easily without a few lines of boilerplate.

Proposal: add url.MustParse like regexp.MustCompile, template.Must, etc.

(Alternatively: a generic must.Do somewhere in std)

cc @neild

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Incoming

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions