Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for ImportPath (0.27 sec)

  1. misc/go_android_exec/main.go

    	}
    
    	parts := strings.SplitN(string(bytes.TrimSpace(out)), ":", 4)
    	if len(parts) < 2 {
    		return errorf("%v: missing ':' in output: %q", cmd, out)
    	}
    	importPath = parts[0]
    	if importPath == "" || importPath == "." {
    		return errorf("current directory does not have a Go import path")
    	}
    	isStd, err = strconv.ParseBool(parts[1])
    	if err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. buildscripts/cross-compile.sh

    }
    
    function _build() {
    	local osarch=$1
    	IFS=/ read -r -a arr <<<"$osarch"
    	os="${arr[0]}"
    	arch="${arr[1]}"
    	package=$(go list -f '{{.ImportPath}}')
    	printf -- "--> %15s:%s\n" "${osarch}" "${package}"
    
    	# go build -trimpath to build the binary.
    	export GOOS=$os
    	export GOARCH=$arch
    	export GO111MODULE=on
    	go build -trimpath -tags kqueue -o /dev/null
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Dec 19 01:08:22 UTC 2023
    - 958 bytes
    - Viewed (0)
  3. src/cmd/asm/internal/flags/flags.go

    	AllErrors  = flag.Bool("e", false, "no limit on number of errors reported")
    	SymABIs    = flag.Bool("gensymabis", false, "write symbol ABI information to output file, don't assemble")
    	Importpath = flag.String("p", obj.UnlinkablePkg, "set expected package import to path")
    	Spectre    = flag.String("spectre", "", "enable spectre mitigations in `list` (all, ret)")
    )
    
    var DebugFlags struct {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 22 19:18:23 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. src/cmd/asm/main.go

    	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":
    		// known to compiler; ignore here so people can use
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Jun 21 19:58:04 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    			// - 'go list std' does not include commands, which cannot be
    			//   imported anyway.
    			if ip := pkg.ImportPath; pkg.Standard && ip != "unsafe" && !strings.HasPrefix(ip, "vendor/") && !internalPkg.MatchString(ip) {
    				stdPackages = append(stdPackages, ip)
    			}
    			importDir[pkg.ImportPath] = pkg.Dir
    			if len(pkg.ImportMap) > 0 {
    				importMap[pkg.Dir] = make(map[string]string, len(pkg.ImportMap))
    			}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  6. api/go1.19.txt

    pkg go/doc/comment, type Doc struct, Content []Block #51082
    pkg go/doc/comment, type Doc struct, Links []*LinkDef #51082
    pkg go/doc/comment, type DocLink struct #51082
    pkg go/doc/comment, type DocLink struct, ImportPath string #51082
    pkg go/doc/comment, type DocLink struct, Name string #51082
    pkg go/doc/comment, type DocLink struct, Recv string #51082
    pkg go/doc/comment, type DocLink struct, Text []Text #51082
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 17.9K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    of that package.
    The import names an identifier (PackageName) to be used for access and an ImportPath
    that specifies the package to be imported.
    </p>
    
    <pre class="ebnf">
    ImportDecl       = "import" ( ImportSpec | "(" { ImportSpec ";" } ")" ) .
    ImportSpec       = [ "." | PackageName ] ImportPath .
    ImportPath       = string_lit .
    </pre>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  8. src/cmd/cgo/doc.go

    	-godefs
    		Write out input file in Go syntax replacing C package
    		names with real values. Used to generate files in the
    		syscall package when bootstrapping a new target.
    	-importpath string
    		The import path for the Go package. Optional; used for
    		nicer comments in the generated files.
    	-import_runtime_cgo
    		If set (which it is by default) import runtime/cgo in
    		generated output.
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 01 22:52:54 UTC 2024
    - 44K bytes
    - Viewed (0)
  9. doc/go_spec.html

    of that package.
    The import names an identifier (PackageName) to be used for access and an ImportPath
    that specifies the package to be imported.
    </p>
    
    <pre class="ebnf">
    ImportDecl       = "import" ( ImportSpec | "(" { ImportSpec ";" } ")" ) .
    ImportSpec       = [ "." | PackageName ] ImportPath .
    ImportPath       = string_lit .
    </pre>
    
    <p>
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg go/build, type Package struct, GoFiles []string
    pkg go/build, type Package struct, Goroot bool
    pkg go/build, type Package struct, HFiles []string
    pkg go/build, type Package struct, ImportPath string
    pkg go/build, type Package struct, ImportPos map[string][]token.Position
    pkg go/build, type Package struct, Imports []string
    pkg go/build, type Package struct, Name string
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top