helpers

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSkip  = errors.New("non null error")
	ErrEmpty = errors.New("")
)
View Source
var IsDarwin = runtime.GOOS == "darwin"
View Source
var IsLinux = runtime.GOOS == "linux"
View Source
var IsWindows = runtime.GOOS == "windows"

Functions

func EmptyIcon

func EmptyIcon() fyne.Resource

Types

type AtomicBool added in v0.5.0

type AtomicBool struct {
	Val int32
}

func NewAtomicBool added in v0.31.0

func NewAtomicBool(v bool) *AtomicBool

func (*AtomicBool) Get added in v0.5.0

func (b *AtomicBool) Get() bool

func (*AtomicBool) Set added in v0.5.0

func (b *AtomicBool) Set(v bool)

type ConcurrentSliceFunc

type ConcurrentSliceFunc struct {
	Index int
	Fn    func()
}

type ConcurrentSliceWithFuncs

type ConcurrentSliceWithFuncs struct {
	// contains filtered or unexported fields
}

func NewConcurrentSliceWithFuncs

func NewConcurrentSliceWithFuncs() *ConcurrentSliceWithFuncs

func (*ConcurrentSliceWithFuncs) Append

func (s *ConcurrentSliceWithFuncs) Append(fn func())

func (*ConcurrentSliceWithFuncs) Iter

func (s *ConcurrentSliceWithFuncs) Iter() <-chan func()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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