Support async/await by including ES2017

This required adjusting the module loading system.
This commit is contained in:
Ryan Dahl 2018-05-26 15:21:15 -04:00
parent cbfb7d8720
commit 7609df9d4f
6 changed files with 53 additions and 15 deletions

View file

@ -9,7 +9,7 @@ import (
func logDebug(format string, v ...interface{}) {
// Unless the debug flag is specified, discard logs.
if *flagDebug {
fmt.Printf(format+"\n", v)
fmt.Printf(format+"\n", v...)
}
}