douzhi1924 2014-08-04 17:45
浏览 38
已采纳

play.golang.org如何自动管理导入?

Is there an open source JavaScript library that golang.org uses for Go Playgrounds? How does the Imports checkbox know which imports to add?

http://play.golang.org/p/A0nH96VB4S

  • 写回答

1条回答 默认 最新

  • dongyilu3143 2014-08-04 17:57
    关注

    It uses the goimports tool.

    goimports works as a direct replacement for gofmt, with all the same options.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?