added Width
This commit is contained in:
parent
52089cf062
commit
7d67ae7528
|
@ -235,6 +235,7 @@ func guiMain(w io.Writer, FRUITS string, FRUIT string) {
|
|||
fmt.Fprintln(w, " f func(*"+FRUIT+") string")
|
||||
fmt.Fprintln(w, " Custom func(*"+FRUIT+")")
|
||||
fmt.Fprintln(w, " order int")
|
||||
fmt.Fprintln(w, " Width int")
|
||||
fmt.Fprintln(w, "}")
|
||||
fmt.Fprintln(w, "")
|
||||
fmt.Fprintln(w, "type "+FRUIT+"ButtonFunc struct {")
|
||||
|
@ -242,6 +243,7 @@ func guiMain(w io.Writer, FRUITS string, FRUIT string) {
|
|||
fmt.Fprintln(w, " f func(*"+FRUIT+") string")
|
||||
fmt.Fprintln(w, " Custom func(*"+FRUIT+")")
|
||||
fmt.Fprintln(w, " order int")
|
||||
fmt.Fprintln(w, " Width int")
|
||||
fmt.Fprintln(w, "}")
|
||||
fmt.Fprintln(w, "")
|
||||
fmt.Fprintln(w, "type "+FRUIT+"IntFunc struct {")
|
||||
|
@ -249,6 +251,7 @@ func guiMain(w io.Writer, FRUITS string, FRUIT string) {
|
|||
fmt.Fprintln(w, " f func(*"+FRUIT+") int")
|
||||
fmt.Fprintln(w, " Custom func(*"+FRUIT+")")
|
||||
fmt.Fprintln(w, " order int")
|
||||
fmt.Fprintln(w, " Width int")
|
||||
fmt.Fprintln(w, "}")
|
||||
fmt.Fprintln(w, "")
|
||||
fmt.Fprintln(w, "type "+FRUIT+"TimeFunc struct {")
|
||||
|
@ -256,6 +259,7 @@ func guiMain(w io.Writer, FRUITS string, FRUIT string) {
|
|||
fmt.Fprintln(w, " f func(*"+FRUIT+") time.Time")
|
||||
fmt.Fprintln(w, " Custom func(*"+FRUIT+")")
|
||||
fmt.Fprintln(w, " order int")
|
||||
fmt.Fprintln(w, " Width int")
|
||||
fmt.Fprintln(w, "}")
|
||||
fmt.Fprintln(w, "")
|
||||
fmt.Fprintln(w, "type "+FRUITS+"Table struct {")
|
||||
|
|
Loading…
Reference in New Issue