简体   繁体   中英

How to run the whole project in GoLand?

I have a small project with several .go files. When I run main.go only this compiles but nothing else, so my application crushes. I understand that I have to change settings in Run -> Edit Configurations, but don't know what to do exactly. IDE also doesn't see terminal pre-compiled package, so "Package" option instead of "File" doesn't work.

要运行整个项目,您必须运行Run - > Edit Configuration ,将Run Kind设置为Package并输入字段打包您的项目目录名称。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM