MCPcopy Create free account
hub / github.com/arcjet/gravity / Uppercase

Method Uppercase

examples/basic/basic_test.go:19–21  ·  view source on GitHub ↗
(ctx context.Context, value string)

Source from the content-addressed store, hash-verified

17type Utils struct{}
18
19func (Utils) Uppercase(ctx context.Context, value string) string {
20 return strings.ToUpper(value)
21}
22
23func TestBasic(t *testing.T) {
24 fac, err := NewBasicFactory(t.Context(), SlogLogger{}, Utils{})

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected