unixuid

package module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneAsIntSlice added in v0.1.1

func CloneAsIntSlice(uidSlice []UnixUID) (result []int)

CloneAsIntSlice returns a slice of int from a slice of UnixUID.

func CloneAsUint32Slice added in v0.2.0

func CloneAsUint32Slice(uidSlice []UnixUID) (result []uint32)

func MakeUIDIntMap added in v0.1.1

func MakeUIDIntMap(uidSlice []UnixUID) (uidMap map[int]struct{})

MakeUIDIntMap returns a map of int from a slice of UnixUID.

func MakeUIDUint32Map added in v0.2.0

func MakeUIDUint32Map(uidSlice []UnixUID) (uidMap map[uint32]struct{})

MakeUIDIntMap returns a map of int from a slice of UnixUID.

Types

type UnixUID

type UnixUID uint32

func (UnixUID) MarshalText

func (uid UnixUID) MarshalText() (text []byte, err error)

func (*UnixUID) UnmarshalText

func (uidRef *UnixUID) UnmarshalText(text []byte) (err error)

Jump to

Keyboard shortcuts

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