m2pq

package
v0.0.0-...-1d800d4 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidID = &errors.ValidationError{Msg: "invalid id"}

Functions

func ObjectID2UUID

func ObjectID2UUID(id [12]byte) sharedTypes.UUID

func ParseID

func ParseID(s string) (sharedTypes.UUID, error)

func UUID2ObjectID

func UUID2ObjectID(u sharedTypes.UUID) ([12]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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