Browse Source

Make default capacity 0

renovate/configure
Yota Toyama 8 years ago
parent
commit
b15e175fa7
  1. 2
      file_checker.go

2
file_checker.go

@ -91,7 +91,7 @@ func parseFile(f string) (*html.Node, error) {
func (c fileChecker) extractURLs(n *html.Node) ([]string, error) { func (c fileChecker) extractURLs(n *html.Node) ([]string, error) {
us := make(map[string]bool) us := make(map[string]bool)
ns := make([]*html.Node, 0, 1024) ns := []*html.Node{}
ns = append(ns, n) ns = append(ns, n)
addURL := func(u string) error { addURL := func(u string) error {

Loading…
Cancel
Save