package main import "fmt" func makeDouble(number *int) { *number *= 2 } func double() { amount := 6 makeDouble(&amount) fmt.Println(amount) }