MCPcopy Create free account
hub / github.com/mmcgrana/gobyexample / circle

Struct circle

examples/interfaces/interfaces.go:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 width, height float64
21}
22type circle struct {
23 radius float64
24}
25
26// To implement an interface in Go, we just need to
27// implement all the methods in the interface. Here we

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected