You can define, create, and execute a new goroutine using the go keyword followed by a function name or the full definition of an anonymous function. The go keyword makes the function call return immediately, while the function starts running in the background as a goroutine and the rest of the program continues its execution.
However, as you will see in a moment, you cannot control or make any assumptions about the order in which your goroutines are going to be executed because this depends on the scheduler of the operating system, the Go scheduler, and the load of the operating system.