• Ethan
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 years ago

    You are correct, Go doesn’t have enums. The const thing is a widely accepted pattern for approximating enums.