Fixed <tt> breakup in tableviewproposal.md.
This commit is contained in:
parent
0f5f1b583a
commit
98ff761143
|
@ -20,7 +20,7 @@ type Person struct {
|
||||||
```
|
```
|
||||||
Data is displayed using the fmt package's %v rule. The structure must satisfy sync.Locker.
|
Data is displayed using the fmt package's %v rule. The structure must satisfy sync.Locker.
|
||||||
|
|
||||||
<tt>If one of the members is of type slice of the structure type, then any element of the main slice with a Children whose length is nonzero represents child nodes. For example:
|
<tt>If one of the members is of type slice of the structure type, then any element of the main slice with a Children whose length is nonzero represents child nodes. For example:</tt>
|
||||||
```go
|
```go
|
||||||
type File struct {
|
type File struct {
|
||||||
Filename string
|
Filename string
|
||||||
|
@ -29,7 +29,7 @@ type File struct {
|
||||||
Contents []File
|
Contents []File
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
In this case, File.Contents specifies children of the parent File.</tt>
|
<tt>In this case, File.Contents specifies children of the parent File.</tt>
|
||||||
|
|
||||||
```go
|
```go
|
||||||
func NewTableView(initData interface{}) *TableView
|
func NewTableView(initData interface{}) *TableView
|
||||||
|
|
Loading…
Reference in New Issue