Versions in this module Expand all Collapse all v0 v0.1.1 Aug 28, 2023 v0.1.0 Aug 14, 2023 Changes in this version + var ErrInvalidURN = errors.New("invalid URN") + type NullURN struct + URN URN + Valid bool + func (nu *NullURN) Scan(value any) error + func (nu *NullURN) Value() (driver.Value, error) + type URN struct + NID string + NSS string + func Parse(u string) (*URN, error) + func (u *URN) MarshalJSON() ([]byte, error) + func (u *URN) Scan(v interface{}) error + func (u *URN) String() string + func (u *URN) UnmarshalJSON(bytes []byte) error + func (u *URN) Value() (driver.Value, error)