package uri

import "github.com/spdx/gordf/uri"

Index

Types

type URIRef

type URIRef struct {
	// contains filtered or unexported fields
}

func NewURIRef

func NewURIRef(uri string) (uriref URIRef, err error)

constructor for URIRef

func (*URIRef) AddFragment

func (uriref *URIRef) AddFragment(frag string) (retURI URIRef)

join the fragment to the uri of current object

func (*URIRef) String

func (uriref *URIRef) String() string

returns string representation of the uriref

Source Files

uri.go

Version
v0.0.0-20250128162952-000978ccd6fb (latest)
Published
Jan 28, 2025
Platform
linux/amd64
Imports
3 packages
Last checked
3 weeks ago

Tools for package owners.