Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Command (0.24 sec)

  1. src/cmd/cgo/doc.go

    symbol 'sin'. cmd/link also processes the cgo_ldflag directives, so that it
    knows that the eventual host link command must include the -lm
    argument, so that the host linker will be able to find 'sin' in the
    math library.
    
    cmd/link Command Line Interface
    
    The go command and any other Go-aware build systems invoke cmd/link
    to link a collection of packages into a single binary. By default, cmd/link will
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. src/README.vendor

    Vendoring in std and cmd
    ========================
    
    The Go command maintains copies of external packages needed by the
    standard library in the src/vendor and src/cmd/vendor directories.
    
    There are two modules, std and cmd, defined in src/go.mod and
    src/cmd/go.mod. When a package outside std or cmd is imported
    by a package inside std or cmd, the import path is interpreted
    as if it had a "vendor/" prefix. For example, within "crypto/tls",
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 02 02:20:05 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. doc/next/3-tools.md

    ## Tools {#tools}
    
    ### Go command {#go-command}
    
    Setting the `GOROOT_FINAL` environment variable no longer has an effect
    ([#62047](https://go.dev/issue/62047)).
    Distributions that install the `go` command to a location other than
    `$GOROOT/bin/go` should install a symlink instead of relocating
    or copying the `go` binary.
    
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Mar 14 16:58:10 GMT 2024
    - 339 bytes
    - Viewed (0)
  4. src/cmd/addr2line/addr2line_test.go

    package main
    
    import (
    	"bufio"
    	"bytes"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    )
    
    // TestMain executes the test binary as the addr2line command if
    // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise.
    func TestMain(m *testing.M) {
    	if os.Getenv("GO_ADDR2LINETEST_IS_ADDR2LINE") != "" {
    		main()
    		os.Exit(0)
    	}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  5. src/cmd/api/main_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This package computes the exported API of a set of Go packages.
    // It is only a test, not a command, nor a usefully importable package.
    
    package main
    
    import (
    	"bufio"
    	"bytes"
    	"encoding/json"
    	"fmt"
    	"go/ast"
    	"go/build"
    	"go/parser"
    	"go/token"
    	"go/types"
    	"internal/testenv"
    	"io"
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  6. doc/go1.22.html

      Building with <code>GOEXPERIMENT=rangefunc</code> enables this feature.
    </p>
    
    <h2 id="tools">Tools</h2>
    
    <h3 id="go-command">Go command</h3>
    
    <!-- https://go.dev/issue/60056 -->
    <p>
      Commands in <a href="https://go.dev/ref/mod#workspaces">workspaces</a> can now
      use a <code>vendor</code> directory containing the dependencies of the
      workspace. The directory is created by
    HTML
    - Registered: Tue Feb 06 11:13:10 GMT 2024
    - Last Modified: Wed Jan 31 20:51:56 GMT 2024
    - 45.6K bytes
    - Viewed (0)
  7. doc/godebug.md

    are also treated as invalid.
    (Older toolchains ignore `//go:debug` directives entirely.)
    
    The defaults that will be compiled into a main package
    are reported by the command:
    
    {{raw `
    	go list -f '{{.DefaultGODEBUG}}' my/main/package
    `}}
    
    Only differences from the base Go toolchain defaults are reported.
    
    When testing a package, `//go:debug` lines in the `*_test.go`
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  8. src/archive/tar/writer_test.go

    	)
    
    	vectors := []struct {
    		file  string // Optional filename of expected output
    		tests []testFnc
    	}{{
    		// The writer test file was produced with this command:
    		// tar (GNU tar) 1.26
    		//   ln -s small.txt link.txt
    		//   tar -b 1 --format=ustar -c -f writer.tar small.txt small2.txt link.txt
    		file: "testdata/writer.tar",
    		tests: []testFnc{
    			testHeader{Header{
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
Back to top