github.com/ghodss/yaml.field.index (field)
19 uses
github.com/ghodss/yaml (current package)
fields.go#L74: index []int
fields.go#L99: if len(x[i].index) != len(x[j].index) {
fields.go#L100: return len(x[i].index) < len(x[j].index)
fields.go#L116: for k, xik := range x[i].index {
fields.go#L117: if k >= len(x[j].index) {
fields.go#L120: if xik != x[j].index[k] {
fields.go#L121: return xik < x[j].index[k]
fields.go#L124: return len(x[i].index) < len(x[j].index)
fields.go#L169: index := make([]int, len(f.index)+1)
fields.go#L170: copy(index, f.index)
fields.go#L171: index[len(f.index)] = i
fields.go#L188: index: index,
fields.go#L206: next = append(next, fillField(field{name: ft.Name(), index: index, typ: ft}))
fields.go#L258: length := len(fields[0].index)
fields.go#L261: if len(f.index) > length {
yaml.go#L194: jtf := t.Field(f.index[0])
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |