Golang konstan
// 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"
)