Пример #1
0
func main() {
	fmt.Println("Life equals ", life.Life, "halflife equals", life.Halflife())
}
Пример #2
0
func mylife() {
	fmt.Println("Life equals: ", life.Life, " Half Life equals: ", life.Halflife())
}
Пример #3
0
func main() {
	fmt.Println("Life = ", life.Life, " and halflife = ", life.Halflife())
}