Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsonReference ¶
type JsonReference struct { HasFullUrl bool HasUrlPathOnly bool HasFragmentOnly bool HasFileScheme bool HasFullFilePath bool // contains filtered or unexported fields }
func NewJsonReference ¶
func NewJsonReference(jsonReferenceString string) (JsonReference, error)
func (*JsonReference) GetPointer ¶
func (r *JsonReference) GetPointer() *gojsonpointer.JsonPointer
func (*JsonReference) GetUrl ¶
func (r *JsonReference) GetUrl() *url.URL
func (*JsonReference) Inherits ¶
func (r *JsonReference) Inherits(child JsonReference) (*JsonReference, error)
Creates a new reference from a parent and a child If the child cannot inherit from the parent, an error is returned
func (*JsonReference) IsCanonical ¶
func (r *JsonReference) IsCanonical() bool
func (*JsonReference) String ¶
func (r *JsonReference) String() string
Click to show internal directories.
Click to hide internal directories.