MCPcopy Create free account
hub / github.com/buke/quickjs-go / String

Method String

class_test.go:22–24  ·  view source on GitHub ↗

String method for debugging

()

Source from the content-addressed store, hash-verified

20
21// String method for debugging
22func (p *Point) String() string {
23 return fmt.Sprintf("Point(%.2f, %.2f)", p.X, p.Y)
24}
25
26// Counter for tracking Finalize() calls during GC testing
27var finalizeCallCount int64

Callers 1

createPointClassFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected