First of all, in Go there are no enums. The common way of implementing enum-like functionality is via constants:
const(
ConstantText = ""
ConstantInt int64 = 2342423324
)
First of all, in Go there are no enums. The common way of implementing enum-like functionality is via constants:
const(
ConstantText = ""
ConstantInt int64 = 2342423324
)