org

package
v1.3.0-main Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2026 License: Apache-2.0 Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultDisplayName = "Default"
View Source
var DefaultExternalID = "default"
View Source
var DefaultID = uuid.MustParse("00000000-0000-0000-0000-000000000000")

DefaultID is the well-known UUID reserved for the default / system organization. It is equivalent to the previous `store.NullOrgId` constant.

Functions

func MustParse

func MustParse(s string) uuid.UUID

MustParse is like Parse but panics on error (to be used with hard-coded strings).

func Parse

func Parse(s string) (uuid.UUID, error)

Parse validates that the supplied string is a valid UUID and returns it.

Types

type ExternalOrganization

type ExternalOrganization struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

ExternalOrganization represents an organization as asserted by an external identity provider. ID is the provider's opaque identifier (may not be a UUID).

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL