V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
The Go Programming Language
http://golang.org/
Go Playground
Go Projects
Revel Web Framework
52funny
V2EX  ›  Go 编程语言

如何把 Goland 编译时的信息给隐藏掉

  •  
  •   52funny · 2020-02-29 14:39:20 +08:00 · 3769 次点击
    这是一个创建于 1519 天前的主题,其中的信息可能已经有所发展或是发生改变。

    就想把 Goland 里的多余的输出给隐藏掉,请问有什么好办法么? 3sOuqO.png

    7 条回复    2020-04-26 16:18:48 +08:00
    stevenbipt
        1
    stevenbipt  
       2020-02-29 16:14:55 +08:00
    终端 go build 编译,运行就 go run xxx.go
    Dreax
        2
    Dreax  
       2020-02-29 16:16:33 +08:00
    借楼问一下 goland 如何修改编译输出文件名
    lasuar
        3
    lasuar  
       2020-02-29 16:19:57 +08:00
    Dreax
        4
    Dreax  
       2020-02-29 16:42:47 +08:00
    @lasuar 研究了一下新版 要在 Go tool arguments 里设置-o,在环境变量里设置 BUILDARGS 没效果
    Mitt
        5
    Mitt  
       2020-03-02 02:07:38 +08:00 via iPhone
    52funny
        6
    52funny  
    OP
       2020-03-05 22:09:39 +08:00 via iPhone
    @Mitt 谢谢了
    michealchen730
        7
    michealchen730  
       2020-04-26 16:18:48 +08:00
    请问楼主你解决了么?
    goland 新版 2020.1.1 好像都会有着这种问题,设置 run with pty 好像不能解决这个问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   878 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 21:31 · PVG 05:31 · LAX 14:31 · JFK 17:31
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.