github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/cmd/buildid/doc.go (about)

     1  // Copyright 2017 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  /*
     6  Buildidは、Goパッケージまたはバイナリに格納されているビルドIDを表示または更新します。
     7  
     8  使用法:
     9  
    10  	go tool buildid [-w] ファイル
    11  
    12  デフォルトでは、buildidは指定したファイルに含まれるビルドIDを表示します。
    13  -wオプションが指定された場合、buildidはファイルに含まれるビルドIDを正確に記録するためのコンテンツのハッシュで上書きします。
    14  
    15  このツールは、goコマンドまたは他のビルドシステムによってのみ使用することを想定しています。
    16  */package main