• Ethan
    link
    English
    46 months ago

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