MCPcopy Create free account
hub / github.com/RezaSi/go-interview-practice / String

Method String

challenge-10/solution-template.go:41–44  ·  view source on GitHub ↗

String returns a string representation of the rectangle

()

Source from the content-addressed store, hash-verified

39
40// String returns a string representation of the rectangle
41func (r *Rectangle) String() string {
42 // TODO: Implement string representation
43 return ""
44}
45
46// Circle represents a perfectly round shape
47type Circle struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected