deprecate initial prototype code

This commit is contained in:
Jeff Carr 2025-02-22 14:30:30 -06:00
parent 2620425629
commit 7063837d40
1 changed files with 6 additions and 4 deletions

View File

@ -135,10 +135,12 @@ func guiMain(w io.Writer, FRUITS string, FRUIT string) {
fmt.Fprintln(w, "func (mt *"+FRUITS+"Table) ShowTable() {") fmt.Fprintln(w, "func (mt *"+FRUITS+"Table) ShowTable() {")
fmt.Fprintln(w, " // log.Info(\"ShowTable() SENDING TO GUI\")") fmt.Fprintln(w, " // log.Info(\"ShowTable() SENDING TO GUI\")")
fmt.Fprintln(w, " mt.MakeTable()") fmt.Fprintln(w, " mt.MakeTable()")
fmt.Fprintln(w, " if mt.parent == nil {") /*
fmt.Fprintln(w, " gui.ShowTable(mt.pb)") fmt.Fprintln(w, " if mt.parent == nil {")
fmt.Fprintln(w, " return") fmt.Fprintln(w, " gui.ShowTable(mt.pb)")
fmt.Fprintln(w, " }") fmt.Fprintln(w, " return")
fmt.Fprintln(w, " }")
*/
fmt.Fprintln(w, " mt.parent.ShowTable(mt.pb)") fmt.Fprintln(w, " mt.parent.ShowTable(mt.pb)")
fmt.Fprintln(w, "}") fmt.Fprintln(w, "}")
fmt.Fprintln(w, "") fmt.Fprintln(w, "")