Skip to content

Commit

Permalink
ignore lint
Browse files Browse the repository at this point in the history
  • Loading branch information
husniMDB committed Jun 20, 2024
1 parent 3e523b7 commit 0c6acac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opsmngr/link.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ type Link struct {
Href string `json:"href,omitempty"`
}

//nolint:all // this is a temp method and will be called later
func (l *Link) getHrefURL() (*url.URL, error) {
return url.Parse(l.Href)
}

//nolint:all // this is a temp method and will be called later
func (l *Link) getHrefQueryParam(param string) (string, error) {
hrefURL, err := l.getHrefURL()
if err != nil {
Expand Down

0 comments on commit 0c6acac

Please sign in to comment.