MCPcopy Create free account
hub / github.com/a-h/rest / getFieldName

Function getFieldName

getcomments/parser/parser.go:89–95  ·  view source on GitHub ↗
(field *ast.Field)

Source from the content-addressed store, hash-verified

87}
88
89func getFieldName(field *ast.Field) string {
90 var names []string
91 for _, name := range field.Names {
92 names = append(names, name.Name)
93 }
94 return strings.Join(names, ".")
95}

Callers 1

processFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected