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

     1  // Copyright 2011 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  //go:build ignore
     6  
     7  /*
     8  The headscan command extracts comment headings from package files;
     9  it is used to detect false positives which may require an adjustment
    10  to the comment formatting heuristics in comment.go.
    11  
    12  Usage: headscan [-root root_directory]
    13  
    14  By default, the $GOROOT/src directory is scanned.
    15  */
    16  package main