Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 267 for gomod (0.07 sec)

  1. .github/dependabot.yml

    # Configures Depdendabot to PR go security updates only
    
    version: 2
    updates:
      # Go configuration for master branch
      - package-ecosystem: "gomod"
        directory: "/"
        schedule:
          interval: "daily"
        # Limit number of open PRs to 0 so that we only get security updates
        # See https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates
        open-pull-requests-limit: 0
        labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:04:41 UTC 2024
    - 480 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/work.txt

    ! go run  example.com/b
    stderr 'a(\\|/)a.go:4:8: no required module provides package rsc.io/quote; to add it:\n\tcd '$WORK(\\|/)gopath(\\|/)src(\\|/)a'\n\tgo get rsc.io/quote'
    cd a
    go get rsc.io/quote
    cat go.mod
    go env GOMOD # go env GOMOD reports the module in a single module context
    stdout $GOPATH(\\|/)src(\\|/)a(\\|/)go.mod
    cd ..
    go run example.com/b
    stdout 'Hello, world.'
    
    # And try from a different directory
    cd c
    go run  example.com/b
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_symlink.txt

    symlink links/issue.go -> $GOPATH/src/issue.go
    mkdir links/subpkg
    symlink links/subpkg/issue.go -> $GOPATH/src/subpkg/issue.go
    
    # We should see the copy as a valid module root.
    cd links
    go env GOMOD
    stdout links[/\\]go.mod
    go list -m
    stdout golang.org/issue/28107
    
    # The symlink-based copy should contain the same packages
    # and have the same dependencies as the original.
    go list -deps -f '{{.Module}}' .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_retract_replace.txt

    go list -m -retracted -f '{{if not .Retracted}}good version{{end}}' example.com/retract/missingmod
    stdout '^good version$'
    
    
    # If a replacement version is retracted, we should see a retraction.
    # It should appear in both the replaced module and the replacement, as other
    # fields like GoMod do.
    go list -m -retracted -f '{{range .Retracted}}{{.}}{{end}}' example.com/retract
    ! stdout .
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/pgo_devirtualize_test.go

    	testenv.MustHaveGoRun(t)
    	t.Parallel()
    
    	const pkg = "example.com/pgo/devirtualize"
    
    	// Add a go.mod so we have a consistent symbol names in this temp dir.
    	goMod := fmt.Sprintf(`module %s
    go 1.21
    `, pkg)
    	if err := os.WriteFile(filepath.Join(dir, "go.mod"), []byte(goMod), 0644); err != nil {
    		t.Fatalf("error writing go.mod: %v", err)
    	}
    
    	// Run the test without PGO to ensure that the test assertions are
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 21:30:35 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/00-bug.yml

            GOTOOLDIR="/usr/local/go/pkg/tool/darwin_arm64"
            GOVCS=""
            GOVERSION="go1.20.7"
            GCCGO="gccgo"
            AR="ar"
            CC="clang"
            CXX="clang++"
            CGO_ENABLED="1"
            GOMOD="/dev/null"
            GOWORK=""
            CGO_CFLAGS="-O2 -g"
            CGO_CPPFLAGS=""
            CGO_CXXFLAGS="-O2 -g"
            CGO_FFLAGS="-O2 -g"
            CGO_LDFLAGS="-O2 -g"
            PKG_CONFIG="pkg-config"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 04 23:31:17 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. src/cmd/go/internal/modinfo/info.go

    	Indirect   bool             `json:",omitempty"` // module is only indirectly needed by main module
    	Dir        string           `json:",omitempty"` // directory holding local copy of files, if any
    	GoMod      string           `json:",omitempty"` // path to go.mod file describing module, if any
    	GoVersion  string           `json:",omitempty"` // go version used in module
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_get_go_file.txt

    # Tests Issue #38478
    # Tests that go get in GOMOD mode returns a specific error if the argument
    # ends with '.go', has no version, and either has no slash or refers to an
    # existing file.
    
    env GO111MODULE=on
    
    # argument doesn't have .go suffix and has no version
    ! go get test
    ! stderr 'arguments must be package or module paths'
    ! stderr 'exists as a file, but ''go get'' requires package arguments'
    
    # argument has .go suffix and has version
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:08 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_download.txt

    stdout '^\t"Path": "rsc.io/quote"'
    stdout '^\t"Version": "v1.5.0"'
    stdout '^\t"Info": ".*(\\\\|/)pkg(\\\\|/)mod(\\\\|/)cache(\\\\|/)download(\\\\|/)rsc.io(\\\\|/)quote(\\\\|/)@v(\\\\|/)v1.5.0.info"'
    stdout '^\t"GoMod": ".*(\\\\|/)pkg(\\\\|/)mod(\\\\|/)cache(\\\\|/)download(\\\\|/)rsc.io(\\\\|/)quote(\\\\|/)@v(\\\\|/)v1.5.0.mod"'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 04 20:42:35 UTC 2021
    - 8.5K bytes
    - Viewed (0)
  10. src/cmd/go/internal/modfetch/toolchain.go

    	}
    	var max string
    	for _, v := range versions.List {
    		if max == "" || gover.ModCompare(r.path, v, max) > 0 {
    			max = v
    		}
    	}
    	return r.Stat(ctx, max)
    }
    
    func (r *toolchainRepo) GoMod(ctx context.Context, version string) (data []byte, err error) {
    	return []byte("module " + r.path + "\n"), nil
    }
    
    func (r *toolchainRepo) Zip(ctx context.Context, dst io.Writer, version string) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 13 16:44:24 UTC 2023
    - 5.6K bytes
    - Viewed (0)
Back to top