MCPcopy Create free account
hub / github.com/NoFxAiOS/nofx / formatFieldDefEN

Function formatFieldDefEN

kernel/schema.go:545–555  ·  view source on GitHub ↗

formatFieldDefEN formats a field definition in English

(key string, field BilingualFieldDef)

Source from the content-addressed store, hash-verified

543
544// formatFieldDefEN formats a field definition in English
545func formatFieldDefEN(key string, field BilingualFieldDef) string {
546 result := "- **" + key + "** (" + field.NameEN + "): " + field.DescEN
547 if field.FormulaEN != "" {
548 result += " | Formula: `" + field.FormulaEN + "`"
549 }
550 if field.Unit != "" {
551 result += " | Unit: " + field.Unit
552 }
553 result += "\n"
554 return result
555}

Callers 1

getSchemaPromptENFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected