Help us shape the future of Go! Take the 2026 Go Developer Survey

user

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package user defines canonical identities beneath a user's resource namespace. These helpers validate structure only; the managing provider authorizes access.

Index

Constants

View Source
const Namespace = "users"

Variables

This section is empty.

Functions

func NewURI

func NewURI(kind, canonicalUser, path string) (identity.ResourceURI, error)

NewURI retains the authenticated canonical user ID exactly. It never slugs, lowercases, URL-decodes or substitutes an email/display name for that ID.

func Parse

func Parse(uri identity.ResourceURI) (owner, path string, ok bool)

Parse extracts identity components without deciding whether a caller owns them.

Types

This section is empty.

Jump to

Keyboard shortcuts

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