// Chapter 25 example: Double is exported, and clamp is private to its package. // // Run from this folder: // cd exercises/25/examples/03-private-helper // go run . package main import ( "fmt" "privatehelper/mathhelpers" ) func main() { fmt.Println(mathhelpers.Double(7)) // 14 fmt.Println(mathhelpers.Double(900)) // 100 // Try this: uncomment the next line and run again. // fmt.Println(mathhelpers.clamp(5, 0, 3)) }