MCPcopy Index your code
hub / github.com/github/copilot-sdk / goEnumConstSuffix

Function goEnumConstSuffix

scripts/codegen/go.ts:776–781  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

774}
775
776function goEnumConstSuffix(value: string): string {
777 const suffix = splitGoIdentifierWords(value)
778 .map((word) => goIdentifierWord(word))
779 .join("");
780 return suffix || "Value";
781}
782
783function goDiscriminatedUnionVariantTypeName(
784 unionTypeName: string,

Calls 3

splitGoIdentifierWordsFunction · 0.85
goIdentifierWordFunction · 0.85
joinMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…