MCPcopy Create free account
hub / github.com/derekbanas/Go-Tutorial / getCustInfo

Function getCustInfo

hellogo.go:139–141  ·  view source on GitHub ↗

Customer passed as values

(c customer)

Source from the content-addressed store, hash-verified

137
138// Customer passed as values
139func getCustInfo(c customer) {
140 fmt.Printf("%s owes us %.2f\n", c.name, c.bal)
141}
142
143func newCustAdd(c *customer, address string) {
144 c.address = address

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected