Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IllegalPrefixes (0.19 sec)

  1. src/go/doc/synopsis.go

    func Synopsis(text string) string {
    	var p Package
    	return p.Synopsis(text)
    }
    
    // IllegalPrefixes is a list of lower-case prefixes that identify
    // a comment as not being a doc comment.
    // This helps to avoid misinterpreting the common mistake
    // of a copyright notice immediately before a package statement
    // as being a doc comment.
    var IllegalPrefixes = []string{
    	"copyright",
    	"all rights",
    	"author",
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top