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

id

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ID

type ID struct {
	Path string
	// contains filtered or unexported fields
}

func New

func New(collection string, objectId string) *ID

func Parse

func Parse(value string) (*ID, error)

func ParseString

func ParseString(value types.String) (*ID, error)

func (*ID) ApiVersion

func (id *ID) ApiVersion() string

func (*ID) AsString

func (id *ID) AsString() types.String

func (*ID) Collection

func (id *ID) Collection() string

func (*ID) ObjectId

func (id *ID) ObjectId() string

Jump to

Keyboard shortcuts

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