Documentation ¶
Index ¶
Constants ¶
View Source
const StdHRP = "su"
View Source
const StdLen = 14
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type T ¶
type T struct {
T B
}
func New ¶
New inspects a string and converts to T if it is valid. Invalid means length == 0 or length > 64.
func (*T) IsValid ¶
IsValid returns true if the subscription id is between 1 and 64 characters. Invalid means too long or not present.
func (*T) MarshalJSON ¶
func (*T) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.