Black Lives Matter. Support the Equal Justice Initiative.

Source file src/cmd/buildid/doc.go

Documentation: cmd/buildid

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

View as plain text