MustCreateRef creates a ref object but panics when refURI is invalid. Use the NewRef method for a version that returns an error.
(refURI string)
| 48 | // MustCreateRef creates a ref object but panics when refURI is invalid. |
| 49 | // Use the NewRef method for a version that returns an error. |
| 50 | func MustCreateRef(refURI string) Ref { |
| 51 | return Ref{Ref: jsonreference.MustCreateRef(refURI)} |
| 52 | } |
| 53 | |
| 54 | // RemoteURI gets the remote uri part of the ref. |
| 55 | func (r *Ref) RemoteURI() string { |
no outgoing calls
searching dependent graphs…