Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for goBuildLine (0.09 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag.go

    	if strings.HasPrefix(text, "//") {
    		if strings.Contains(text, "+build") {
    			check.plusBuildLine(pos, text)
    		}
    		if strings.Contains(text, "//go:build") {
    			check.goBuildLine(pos, text)
    		}
    	}
    	if strings.HasPrefix(text, "/*") {
    		if i := strings.Index(text, "\n"); i >= 0 {
    			// multiline /* */ comment - process interior lines
    			check.inStar = true
    			i++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top