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

id

package
v0.57.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewInstallID added in v0.44.0

func NewInstallID() string

NewInstallID mints a locally generated install id for a machine that has none (no install script ever recorded the website's id). It is used as the PostHog distinct id for the feature-flag lookup and for the browser's analytics identity, so download/install stitching works on that machine too. The "local-" prefix marks it as locally minted — see EnsureInstallID in internal/server, which is what must never report it as a stitched install.

func NewNoteID added in v0.3.0

func NewNoteID() string

func NewNoteVersionID added in v0.3.0

func NewNoteVersionID() string

Types

type MessageID

type MessageID string

func NewMessageID

func NewMessageID() MessageID

type PartID

type PartID string

func NewPartID

func NewPartID() PartID

type PermissionID

type PermissionID string

func NewPermissionID

func NewPermissionID() PermissionID

type QuestionID added in v0.38.0

type QuestionID string

func NewQuestionID added in v0.38.0

func NewQuestionID() QuestionID

type SessionID

type SessionID string

func NewSessionID

func NewSessionID() SessionID

Jump to

Keyboard shortcuts

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