Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for bootstrapFixImports (0.21 sec)

  1. src/cmd/dist/buildtool.go

    `, generatedHeader, archCaps, archCaps)
    	}
    
    	return bootstrapFixImports(srcFile)
    }
    
    var (
    	importRE      = regexp.MustCompile(`\Aimport\s+(\.|[A-Za-z0-9_]+)?\s*"([^"]+)"\s*(//.*)?\n\z`)
    	importBlockRE = regexp.MustCompile(`\A\s*(?:(\.|[A-Za-z0-9_]+)?\s*"([^"]+)")?\s*(//.*)?\n\z`)
    )
    
    func bootstrapFixImports(srcFile string) string {
    	text := readfile(srcFile)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 23:29:41 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top