Original post

Hi
I created a program that picks a random letter, but when I want to start it with the .exe file it closes immediatly, what should I do?
Im using Geany as an Editor, Im learning the language right now, but i can´t find anything that could help me.
this is my code:

package main

import (
“math/rand”
“fmt”
“time”
)

func main (){

rand.Seed(time.Now().Unix())
prompts:=[]string{"hatred","a, b, c, d, e "}

        fmt.Println("Ur prompt is: ", prompts[rand.Intn(len(prompts))])   

}