我正在尝试对所有以某个前缀开头的包进行gofmt重写。类似于:
gofmt -r 'github.com/some/path/<wildcard> -> someotherrepo.com/some/path/<wildcard>'
显然,wildcard不是有效的语法,只是展示了概念。我尝试过使用单个小写字符,但在这里不起作用。
是否有可能实现我正在尝试使用gofmt的功能
发布于 2016-04-22 12:48:29
这是gofmt命令页显示的内容
Given a file, it operates on that file; given a directory, it operates on all .go files
in that directory, recursivelyhttps://stackoverflow.com/questions/36782937
复制相似问题