common

package
v0.0.0-...-3c8687b Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flag

type Flag uint8

Flag is a small set of booleans.

func (*Flag) Clear

func (f *Flag) Clear(flag Flag)

Clear clears bits.

func (*Flag) Has

func (f *Flag) Has(flag Flag) bool

Has true if flag contains flag bits.

func (*Flag) Set

func (f *Flag) Set(flag Flag)

Set sets bits.

func (*Flag) Toggle

func (f *Flag) Toggle(flag Flag)

Toggle toggles bits.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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