MCPcopy Create free account
hub / github.com/aws/smithy-go / String

Method String

middleware/stack_values.go:65–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63}
64
65func (c *stackValues) String() string {
66 var str strings.Builder
67
68 cc := c
69 for cc == nil {
70 str.WriteString("(" +
71 reflect.TypeOf(c.key).String() +
72 ": " +
73 stringify(cc.value) +
74 ")")
75 if cc.parent != nil {
76 str.WriteString(" -> ")
77 }
78 cc = cc.parent
79 }
80 str.WriteRune('}')
81
82 return str.String()
83}
84
85type stringer interface {
86 String() string

Callers

nothing calls this directly

Calls 4

stringifyFunction · 0.85
WriteStringMethod · 0.65
StringMethod · 0.65
WriteRuneMethod · 0.65

Tested by

no test coverage detected