Versions in this module Expand all Collapse all v23 v23.4.1 Apr 24, 2023 Changes in this version + const ErrCanceled + const ErrExtraButton + const ErrUnsupported + var Command bool + var DateFormat = "%Y-%m-%d" + var DateParse = func(s string) (time.Time, error) + var DateUTS35 = func() (string, error) + var LineBreak = "\n" — darwin/amd64, js/wasm, linux/amd64 + var LineBreak = "\r\n" — windows/amd64 + var Separator = "\x00" — darwin/amd64 + var Separator = "\x1e" — js/wasm, linux/amd64 + var Separator string — windows/amd64 + var Timeout int + func ColorEquals(c1, c2 color.Color) bool + func IsAvailable() bool — js/wasm, linux/amd64 + func ParseColor(s string) color.Color + func Run(ctx context.Context, args []string) ([]byte, error) — js/wasm, linux/amd64 + func Run(ctx context.Context, script string, data any) ([]byte, error) — darwin/amd64 + func RunProgress(ctx context.Context, max int, data Progress) (dlg *progressDialog, err error) — darwin/amd64 + func RunProgress(ctx context.Context, max int, extra *string, args []string) (*progressDialog, error) — js/wasm, linux/amd64 + func UnparseColor(c color.Color) string + type Color struct — darwin/amd64 + Color [3]float32 + type Date struct — darwin/amd64 + Cancel string + Date *int64 + Extra *string + Format string + Info string + OK string + Text string + type Dialog struct — darwin/amd64 + Extra *string + IconPath string + Operation string + Options DialogOptions + Text string + func (d *Dialog) SetButtons(btns DialogButtons) + type DialogButtons struct — darwin/amd64 + Buttons []string + Cancel int + Default int + Extra int + type DialogOptions struct — darwin/amd64 + Answer *string + As string + Buttons []string + Cancel int + Default int + Hidden bool + Icon string + Message string + Timeout int + Title *string + type File struct — darwin/amd64 + Operation string + Options FileOptions + Separator string + type FileOptions struct — darwin/amd64 + Invisibles bool + Location string + Multiple bool + Name string + Prompt *string + Type []string + type List struct — darwin/amd64 + Items []string + Options ListOptions + Separator string + type ListOptions struct — darwin/amd64 + Cancel *string + Default []string + Empty bool + Multiple bool + OK *string + Prompt *string + Title *string + type Notify struct — darwin/amd64 + Options NotifyOptions + Text string + type NotifyOptions struct — darwin/amd64 + Subtitle string + Title *string + type Password struct — darwin/amd64 + Extra *string + IconPath string + Options PasswordOptions + Separator string + func (d *Password) SetButtons(btns DialogButtons) + type PasswordOptions struct — darwin/amd64 + Buttons []string + Cancel int + Default int + Icon string + Timeout int + Title *string + type Progress struct — darwin/amd64 + Description *string + Total *int