Golang konstant
// single constant
const (
A = "A"
B = "B"
)
// multiple constant
const (
A, B = "A", "B"
Monday, Sunday = "Monday", "Sunday"
)
Restu Wahyu Saputra
// single constant
const (
A = "A"
B = "B"
)
// multiple constant
const (
A, B = "A", "B"
Monday, Sunday = "Monday", "Sunday"
)
const Phi = 1.618