Skip to content

[question] How to get the Url without Path Params #669

@vijay8059

Description

@vijay8059

Describe the problem you're having

How do i get the url with out path params.
eg: http://localhost:8099/v1/random/{id}
How do i retrieve the url http://localhost:8099/v1/random/

Versions

Go version: go version go1.17.3 darwin/arm64

package version: run git rev-parse HEAD inside the repo

"Show me the code!"

A minimal code snippet can be useful, otherwise we're left guessing!

Hint: wrap it with backticks to format it

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions