gopkg.in/yaml.v2.fieldInfo.Key (field)
10 uses
gopkg.in/yaml.v2 (current package)
encode.go#L224: e.marshal("", reflect.ValueOf(info.Key))
yaml.go#L295: Key string
yaml.go#L372: if _, found := fieldsMap[finfo.Key]; found {
yaml.go#L373: msg := "Duplicated key '" + finfo.Key + "' in struct " + st.String()
yaml.go#L382: fieldsMap[finfo.Key] = finfo
yaml.go#L393: info.Key = tag
yaml.go#L395: info.Key = strings.ToLower(field.Name)
yaml.go#L398: if _, found = fieldsMap[info.Key]; found {
yaml.go#L399: msg := "Duplicated key '" + info.Key + "' in struct " + st.String()
yaml.go#L405: fieldsMap[info.Key] = info
![]() |
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. |