lets say I have this code:
package main 
import (
     "io/ioutil" 
     "fmt"
)
func check(err error) {
     if err != nil {
         panic(err)
     }
} 
func main() {
     file, err := ioutil.ReadFile("test.txt")
     check(err)
     fmt.Print(string(file))
}
when running it with go run I want it to be written in a cleared bash window. Is it possible to do so without using any additional open-source repositories? 
Thanks in advance.
 
    