Source file src/cmd/buildid/doc.go

     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 displays or updates the build ID stored in a Go package or binary.
     7  
     8  Usage:
     9  
    10  	go tool buildid [-w] file
    11  
    12  By default, buildid prints the build ID found in the named file.
    13  If the -w option is given, buildid rewrites the build ID found in
    14  the file to accurately record a content hash of the file.
    15  
    16  This tool is only intended for use by the go command or
    17  other build systems.
    18  */
    19  package main
    20  

View as plain text