Go exe program flicker, how to deal with it?

package main
import(
"os"
"fmt"
"io/ioutil"
"./words"
"time"
)

func main(){

fileName:=os.Args[1]
contents,err:=ioutil.ReadFile(fileName)
if(err!=nil){
  fmt.Println(err)
  return 
  }
  text:=string(contents)
  count:=words.CountWords(text);
  fmt.Println("There are %d words in your text.\n",count)
  

   
  time.Sleep(50*time.Second)

}

the exe flicker is generated above, and the final sleep setting does not work. What is the problem

Mar.18,2021

erratically answer nil

Menu