MCPcopy Create free account
hub / github.com/bitfield/ftl-code / Len

Method Len

19.3/mytypes.go:7–9  ·  view source on GitHub ↗

Len returns the length of the string.

()

Source from the content-addressed store, hash-verified

5
6// Len returns the length of the string.
7func (s MyString) Len() int {
8 return len(s)
9}

Callers 5

TestStringsBuilderFunction · 0.80
TestMyBuilderLenFunction · 0.80
TestMyBuilderFunction · 0.80
TestMyBuilderEmbeddedFunction · 0.80
TestMyStringLenFunction · 0.80

Calls

no outgoing calls

Tested by 5

TestStringsBuilderFunction · 0.64
TestMyBuilderLenFunction · 0.64
TestMyBuilderFunction · 0.64
TestMyBuilderEmbeddedFunction · 0.64
TestMyStringLenFunction · 0.64