Documentation ¶
Index ¶
- func FileExists(path string) bool
- func GetCallFileFromCallStack(skip int) (string, bool)
- func GetColorForID(id int) *color.Color
- func GetCurrentGoID() uint64
- func GetExecutablePath() string
- func GetWaitGroup() *sync.WaitGroup
- func MapRange(n, srcMin, srcMax, dstMin, dstMax float64) float64
- func NormalizeLanguageCode(s string) string
- func PanicToErrorW(f func()) func() *ErrorW
- func StringConcat(sep string, strs ...string) string
- type Broker
- type ErrorW
- type Index
- type PlotDrawEndEventArgs
- type SimpleContext
- type WaveformPlotData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
func GetColorForID ¶
func GetCurrentGoID ¶
func GetCurrentGoID() uint64
func GetWaitGroup ¶
func NormalizeLanguageCode ¶
func PanicToErrorW ¶
func PanicToErrorW(f func()) func() *ErrorW
Types ¶
type Broker ¶
type Broker[T any] struct { // contains filtered or unexported fields }
func (*Broker[T]) Unsubscribe ¶
func (b *Broker[T]) Unsubscribe(msgCh chan T)
type PlotDrawEndEventArgs ¶
type SimpleContext ¶
type SimpleContext struct {
// contains filtered or unexported fields
}
func NewSimpleContext ¶
func NewSimpleContext() *SimpleContext
func (*SimpleContext) Cancel ¶
func (sc *SimpleContext) Cancel()
func (*SimpleContext) Context ¶
func (sc *SimpleContext) Context() context.Context
func (*SimpleContext) IsCancelled ¶
func (sc *SimpleContext) IsCancelled() bool
type WaveformPlotData ¶
func NewWaveformPlotData ¶
func NewWaveformPlotData(length, capacity int) *WaveformPlotData
func (*WaveformPlotData) Clear ¶
func (wd *WaveformPlotData) Clear()
func (*WaveformPlotData) LengthX ¶
func (wd *WaveformPlotData) LengthX() int
func (*WaveformPlotData) LengthY ¶
func (wd *WaveformPlotData) LengthY() int
Click to show internal directories.
Click to hide internal directories.