code: func (gosec *Analyzer) ignore(n ast.Node) ([]string, bool) {
  	if groups, ok := gosec.context.Comments[n]; ok && !gosec.ignoreNosec {
  		for _, group := range groups {
  			if strings.Contains(group.Text(), "#nosec") {
  				gosec.stats.NumNosec++
  
  				// Pull out the specific rules that are listed to be ignored.
  				re := regexp.MustCompile(`(G\d{3})`)
  				matches := re.FindAllStringSubmatch(group.Text(), -1)
  
  				// If no specific rules were given, ignore everything.
  				if len(matches) == 0 {
  					return nil, true
  				}
  
  				// Find the rule IDs to ignore.
  				var ignores []string
  				for _, v := range matches {
  					ignores = append(ignores, v[1])
  				}
  				return ignores, false
  			}
  		}
  	}
  	return nil, false
  }
docs: // ignore a node (and sub-tree) if it is tagged with a "#nosec" comment