Skip to content

Commit

Permalink
remove IssuerURL
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Oct 11, 2024
1 parent c964c31 commit f36dbc4
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions internal/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,3 @@ func MustParse() Config {

return s
}

type IssuerUrl url.URL

func (ipd *IssuerUrl) Decode(value string) error {
issuer, err := url.Parse(value)
if err != nil {
return err
}

*ipd = IssuerUrl(*issuer)
return nil
}

func (ipd *IssuerUrl) ToURL() url.URL {
return url.URL(*ipd)
}

0 comments on commit f36dbc4

Please sign in to comment.