Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidProviderID = errors.New("invalid provider/id pair")
Functions ¶
This section is empty.
Types ¶
type ProviderID ¶
func MustParse ¶
func MustParse(s string) ProviderID
func New ¶
func New(provider, id string) (ProviderID, error)
func Parse ¶
func Parse(s string) (ProviderID, error)
func (*ProviderID) IsValid ¶
func (pid *ProviderID) IsValid() bool
func (*ProviderID) MarshalText ¶
func (pid *ProviderID) MarshalText() (text []byte, err error)
func (*ProviderID) String ¶
func (pid *ProviderID) String() string
func (*ProviderID) UnmarshalText ¶
func (pid *ProviderID) UnmarshalText(text []byte) error
Click to show internal directories.
Click to hide internal directories.