github.com/flyinox/gosm@v0.0.0-20171117061539-16768cb62077/src/go/doc/testdata/a0.go (about)

     1  // Copyright 2012 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  // comment 0
     6  package a
     7  
     8  //BUG(uid): bug0
     9  
    10  //TODO(uid): todo0
    11  
    12  // A note with some spaces after it, should be ignored (watch out for
    13  // emacs modes that remove trailing whitespace).
    14  //NOTE(uid):
    15  
    16  // SECBUG(uid): sec hole 0
    17  // need to fix asap
    18  
    19  // Multiple notes may be in the same comment group and should be
    20  // recognized individually. Notes may start in the middle of a
    21  // comment group as long as they start at the beginning of an
    22  // individual comment.
    23  //
    24  // NOTE(foo): 1 of 4 - this is the first line of note 1
    25  // - note 1 continues on this 2nd line
    26  // - note 1 continues on this 3rd line
    27  // NOTE(foo): 2 of 4
    28  // NOTE(bar): 3 of 4
    29  /* NOTE(bar): 4 of 4 */
    30  // - this is the last line of note 4
    31  //
    32  //
    33  
    34  // NOTE(bam): This note which contains a (parenthesized) subphrase
    35  //            must appear in its entirety.
    36  
    37  // NOTE(xxx) The ':' after the marker and uid is optional.
    38  
    39  // NOTE(): NO uid - should not show up.
    40  // NOTE()  NO uid - should not show up.