efiguid

package
v0.0.0-...-caef65d Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBadFormat = errors.New("incorrect format")
	ErrBadLength = errors.New("incorrect length")
)

Functions

This section is empty.

Types

type GUID

type GUID [16]byte

func FromString

func FromString(t string) (u GUID, err error)

func Must

func Must(u GUID, err error) GUID

Must wrap a call to a function returning (GUID, error) and panics if the error is non-nil. Its intended use is for variable initializations.

func MustFromString

func MustFromString(s string) GUID

func New

func New(a uint32, b, c uint16, d [8]byte) (u GUID)

func (GUID) Braced

func (u GUID) Braced() string

func (GUID) String

func (u GUID) String() string

func (*GUID) UnmarshalText

func (u *GUID) UnmarshalText(s []byte) (err error)

Jump to

Keyboard shortcuts

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