%s
80 |hi
81 | 82 |{{add $i 1}} | 87 |{{index $item "guid"}} | 88 |
{{add $i 1}} | 87 |{{index $item "guid"}} | 88 |
25 | %s 26 | {{ if eq $value ""}} 27 | ![]() 32 | 33 | |
34 | `
35 | fmt.Printf(t, field.Name)
36 | } else {
37 | t := `
38 |
39 | %s 40 | {{ textfield "%s" $value}} 41 | |
42 | `
43 | fmt.Printf(t, field.Name, field.Name)
44 | }
45 | fmt.Println("
{{ indent $json }}20 | {{ else if eq $flavor "text" }} 21 | 22 | {{ else if eq $flavor "bool" }} 23 | {{ $boolVal := index $item $row }} 24 | 31 | {{ else if eq $flavor "save" }} 32 | 33 | {{ else }} 34 | {{ index $item $row }} 35 | {{ end }} 36 |
24 |
25 |
26 | {{ $h }}
27 |
28 |
29 | |
30 | {{ end }}
31 |
---|
47 |
48 | {{ $cell }}
49 |
50 | |
51 | {{ end }}
52 |
11 | 12 | | 13 |
14 | 15 | |
16 |
21 | {{ $h }} 22 | | 23 |24 | {{ index $c $i}} 25 | | 26 |
---|
9 | A sample app using this framework is here. 10 | 11 | You can start with its main.go file and build your own app. 12 |
13 |14 | This sample app is live at https://remoterenters.com/ 15 |
16 |