Simple incrementer application Init i := incrementer.New() Increment i := incrementer.New() i.IncrementNumber() fmt.Println(i.GetNumber()) SetMaxValue i := incrementer.New() i.SetMaxValue(3) i.IncrementNumber() fmt.Println(i.GetNumber())