Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for oldHeading (0.12 sec)

  1. src/go/doc/comment/parse.go

    			break
    		}
    		if b == "" || strings.HasPrefix(b, " ") {
    			return false // not followed by non-space
    		}
    	}
    
    	return true
    }
    
    // oldHeading returns the *Heading for the given old-style section heading line.
    func (d *parseDoc) oldHeading(line string) Block {
    	return &Heading{Text: []Text{Plain(strings.TrimSpace(line))}}
    }
    
    // isHeading reports whether line is a new-style section heading.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 33.5K bytes
    - Viewed (0)
Back to top