我正在尝试用JetBrains的IDE Goland运行Go应用程序。我只想像这样运行以下命令:
$ go run main.go service.go
你能告诉我如何在“编辑配置”面板上进行配置吗?我试着设置“程序参数”,但那是行不通的。https://i.stack.imgur.com/DGvAy.png
我正在尝试用JetBrains的IDE Goland运行Go应用程序。我只想像这样运行以下命令:
$ go run main.go service.go
你能告诉我如何在“编辑配置”面板上进行配置吗?我试着设置“程序参数”,但那是行不通的。https://i.stack.imgur.com/DGvAy.png
If you need to specify multiple files to the build configuration, you can either use the "Files" field to add more files to compile or change the "Run Kind" to be "Package" from the current "File" .
The "Program arguments" field is used for arguments to the final program, not to the go tool.