Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
139
func
getCustInfo(c customer) {
140
fmt.Printf(
"%s owes us %.2f\n"
, c.name, c.bal)
141
}
142
143
func
newCustAdd(c *customer, address string) {
144
c.address = address
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected