MCPcopy Index your code
hub / github.com/cortexproject/cortex / isFieldInline

Function isFieldInline

tools/doc-generator/parser.go:489–491  ·  view source on GitHub ↗
(f reflect.StructField)

Source from the content-addressed store, hash-verified

487}
488
489func isFieldInline(f reflect.StructField) bool {
490 return yamlFieldInlineParser.MatchString(f.Tag.Get("yaml"))
491}
492
493func getFieldDescription(f reflect.StructField, fallback string) string {
494 if desc := getDocTagValue(f, "description"); desc != "" {

Callers 1

parseConfigFunction · 0.85

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected