objid

package
v0.0.0-...-20002e4 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromID

func FromID(id fmt.Stringer) (primitive.ObjectID, error)

FromID converts an id to objected id.

func MustFromID

func MustFromID(id fmt.Stringer) primitive.ObjectID

MustFromID converts an id to objected id, panics on error.

func ToTripID

func ToTripID(oid primitive.ObjectID) id.TripID

ToTripID converts object id to trip id.

Types

This section is empty.

Jump to

Keyboard shortcuts

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