// UiEulaMsg prints out appropriate EULA message func UiEulaMsg(ui *gui.DialogUi, pathToEula string) { ui.SetOkLabel("Agree") ui.SetExtraLabel("Disagree") ui.SetTitle("End User License Agreement") ui.SetSize(30, 80) if err := ui.Textbox(pathToEula); err != nil { os.Exit(1) } }