run thread golang code example Example: run thread golang func f(s string){ fmt.Println(s) } func main(){ go f("goroutine") }