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