Documentation
¶
Index ¶
- Variables
- func PluginIDsToStrings(ids []PluginID) []string
- type Organization
- type OrganizationID
- type OrganizationIDList
- type Plugin
- type PluginID
- func (d PluginID) Clone() PluginID
- func (d *PluginID) CopyRef() *PluginID
- func (d PluginID) Equal(d2 PluginID) bool
- func (d PluginID) IsNil() bool
- func (d *PluginID) MarshalText() ([]byte, error)
- func (d PluginID) Ref() *PluginID
- func (d PluginID) String() (s string)
- func (d *PluginID) StringRef() *string
- func (d *PluginID) UnmarshalText(text []byte) (err error)
- func (d PluginID) Validate() bool
- type User
- type UserID
- type UserIDList
- type UserIDSet
- type Version
- type VersionID
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidID = idx.ErrInvalidID
View Source
var NewOrganizationID = idx.New[Organization]
View Source
var NewUserID = idx.New[User]
View Source
var OrganizationIDFrom = idx.From[Organization]
View Source
var OrganizationIDsFrom = idx.ListFrom[Organization]
View Source
var UserIDFrom = idx.From[User]
View Source
var UserIDsFrom = idx.ListFrom[User]
Functions ¶
func PluginIDsToStrings ¶
PluginIDsToStrings converts IDs into a string slice.
Types ¶
type Organization ¶
type Organization struct{}
func (Organization) Type ¶
func (Organization) Type() string
type OrganizationID ¶
type OrganizationID = idx.ID[Organization]
type OrganizationIDList ¶
type OrganizationIDList = idx.List[Organization]
type PluginID ¶
type PluginID struct {
// contains filtered or unexported fields
}
func MustPluginID ¶
MustPluginID generates a new id.PluginID from a string, but panics if the string cannot be parsed.
func NewPluginID ¶
func PluginIDFrom ¶
PluginIDFrom generates a new id.PluginID from a string.
func PluginIDFromRef ¶
PluginIDFromRef generates a new id.PluginID from a string ref.
func PluginIDsFrom ¶
PluginIDsFrom converts a string slice into a ID slice.
func (*PluginID) MarshalText ¶
MarshalText implements encoding.TextMarshaler interface
func (*PluginID) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler interface
type UserIDList ¶
type VersionID ¶
type VersionID struct {
// contains filtered or unexported fields
}
func VersionIDFrom ¶
Click to show internal directories.
Click to hide internal directories.