• Ethan
    link
    fedilink
    English
    arrow-up
    4
    ·
    8 months ago

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