MCPcopy Index your code
hub / github.com/oapi-codegen/oapi-codegen / String

Method String

pkg/codegen/schema.go:309–311  ·  view source on GitHub ↗

String returns externalRef\d+ and real ref name from external schema, like externalRef0.SomeType.

()

Source from the content-addressed store, hash-verified

307
308// String returns externalRef\d+ and real ref name from external schema, like externalRef0.SomeType.
309func (u UnionElement) String() string {
310 return string(u)
311}
312
313// Method generate union method name for template functions `As/From/Merge`.
314func (u UnionElement) Method() string {

Callers 1

MethodMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected