Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PkgPath (0.2 sec)

  1. misc/go_android_exec/main.go

    		}
    		return 0, fmt.Errorf("bad exit code: %v (in %q)", err, string(b))
    	}
    	return code, nil
    }
    
    // pkgPath determines the package import path of the current working directory,
    // and indicates whether it is
    // and returns the path to the package source relative to $GOROOT (or $GOPATH).
    func pkgPath() (importPath string, isStd bool, modPath, modDir string, err error) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  2. src/cmd/asm/main.go

    	ctxt.Flag_linkshared = *flags.Linkshared
    	ctxt.Flag_shared = *flags.Shared || *flags.Dynlink
    	ctxt.Flag_maymorestack = flags.DebugFlags.MayMoreStack
    	ctxt.Debugpcln = flags.DebugFlags.PCTab
    	ctxt.IsAsm = true
    	ctxt.Pkgpath = *flags.Importpath
    	switch *flags.Spectre {
    	default:
    		log.Printf("unknown setting -spectre=%s", *flags.Spectre)
    		os.Exit(2)
    	case "":
    		// nothing
    	case "index":
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 2.7K bytes
    - Viewed (0)
Back to top