有时发布时我们想隐藏所有代码实现相关的信息,使用go build -ldflags 参数可以实现相关要求。 示例代码. 本文使用版本为go 1.6。 package main import " ...
確定! 回上一頁