From ad8a90ec7e4cfa8b6c3325cf2b2ce737c10f4804 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 10 Jun 2014 14:49:54 -0400 Subject: More go fmt. --- dialog.go | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'dialog.go') diff --git a/dialog.go b/dialog.go index 6ff5ff4..9c2ad2c 100644 --- a/dialog.go +++ b/dialog.go @@ -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) -- cgit v1.2.3