Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for fixGoExact (0.08 sec)

  1. src/cmd/fix/gotypes.go

    }
    
    func gotypes(f *ast.File) bool {
    	fixed := fixGoTypes(f)
    	if fixGoExact(f) {
    		fixed = true
    	}
    	return fixed
    }
    
    func fixGoTypes(f *ast.File) bool {
    	return rewriteImport(f, "golang.org/x/tools/go/types", "go/types")
    }
    
    func fixGoExact(f *ast.File) bool {
    	// This one is harder because the import name changes.
    	// First find the import spec.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 1.7K bytes
    - Viewed (0)
Back to top