Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/derekbanas/Go-Tutorial
/ changeVal2
Function
changeVal2
hellogo.go:83–85 ·
view source on GitHub ↗
(myPtr *int)
Source
from the content-addressed store, hash-verified
81
}
82
83
func
changeVal2(myPtr *int) {
84
*myPtr = 12
85
}
86
87
// Receives array by reference and doubles values
88
func
dblArrVals(arr *[4]int) {
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected