diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-10 14:49:54 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-10 14:49:54 -0400 |
| commit | ad8a90ec7e4cfa8b6c3325cf2b2ce737c10f4804 (patch) | |
| tree | acbd9125a4b976e32f5b0401c4ef70b7b0ca17e7 /dialog.go | |
| parent | 86cf5489d3685a28ee8032bfa4f91cb248018614 (diff) | |
More go fmt.
Diffstat (limited to 'dialog.go')
| -rw-r--r-- | dialog.go | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -2,10 +2,6 @@ package ui -import ( - // ... -) - // sentinel (not nil so programmer errors don't go undetected) // this window is invalid and cannot be used directly var dialogWindow = new(Window) @@ -15,7 +11,7 @@ var dialogWindow = new(Window) // Optionally, secondaryText can be used to show additional information. // If you pass an empty string for secondaryText, neither additional information nor space for additional information will be shown. // On platforms that allow for the message box window to have a title, os.Args[0] is used. -// +// // See "On Dialogs" in the package overview for behavioral information. func MsgBox(primaryText string, secondaryText string) { <-dialogWindow.msgBox(primaryText, secondaryText) @@ -32,7 +28,7 @@ func (w *Window) MsgBox(primaryText string, secondaryText string) (done chan str // MsgBoxError displays a message box to the user with just an OK button and an icon indicating an error. // Otherwise, it behaves like MsgBox. -// +// // See "On Dialogs" in the package overview for more information. func MsgBoxError(primaryText string, secondaryText string) { <-dialogWindow.msgBoxError(primaryText, secondaryText) |
