util

package
v0.0.0-...-91ad366 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileExists

func FileExists(path string) bool

func RandomString

func RandomString(length uint) string

func SlicesEqual

func SlicesEqual[T comparable](left, right []T) bool

Types

type UserID

type UserID struct {
	UID uint32
	GID uint32
}

func GetUserId

func GetUserId(name string) (UserID, error)

Jump to

Keyboard shortcuts

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