Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GOTELEMETRYDIR (0.24 sec)

  1. src/cmd/go/testdata/script/telemetry.txt

    go telemetry
    stdout 'on'
    go env GOTELEMETRY
    stdout 'on'
    
    go env
    stdout 'GOTELEMETRY=''?on''?'
    stdout 'GOTELEMETRYDIR=''?'$userconfig'[\\/]go[\\/]telemetry''?'
    ! go env -w GOTELEMETRY=off
    stderr '^go: unknown go command variable GOTELEMETRY$'
    ! go env -w GOTELEMETRYDIR=foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 20:16:39 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. doc/next/3-tools.md

    mode. Without arguments, it displays the current mode. With `local`, `on`, or `off`, it sets
    the collection mode. `go` `env` now lists two values: the `GOTELEMETRY` value, which
    contains the telemetry collection mode, and the `GOTELEMETRYDIR` value setting which contains
    the directory telemetry data and configuration are written to.
    
    <!-- go.dev/issue/58894 ("all: add opt-in transparent telemetry to Go toolchain") -->
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 19:06:07 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/envcmd/env.go

    		{Name: "GOVCS", Value: cfg.GOVCS},
    		{Name: "GOVERSION", Value: runtime.Version()},
    		{Name: "GODEBUG", Value: os.Getenv("GODEBUG")},
    		{Name: "GOTELEMETRY", Value: telemetry.Mode()},
    		{Name: "GOTELEMETRYDIR", Value: telemetry.Dir()},
    	}
    
    	for i := range env {
    		switch env[i].Name {
    		case "GO111MODULE":
    			if env[i].Value != "on" && env[i].Value != "" {
    				env[i].Changed = true
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top