I'm not that experienced with Go, but it seems to me that the equivalent Go code to
var foo = await bar();
is foo := bar()
Go concurrency is much nicer because it doesn't have colored functions. You can use the same functions and library both synchronously and concurrently in millions of goroutines.