Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for PRIVATE (0.33 sec)

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

    exec git config --global --show-origin user.name
    stdout 'Go Gopher'
    
    ! go mod download github.com/golang/nonexist@latest
    stderr 'Confirm the import path was entered correctly.'
    stderr 'If this is a private repository, see https://golang.org/doc/faq#git_https for additional information.'
    ! stdout .
    
    # Fetching a nonexistent commit should return an "unknown revision"
    # error message.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 16:37:00 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/govcs.txt

    ! go get github.com/google/go-cmp
    stderr '^go: GOVCS disallows using git for private github.com/google/go-cmp; see ''go help vcs''$'
    
    # public pattern works
    env GOPRIVATE='github.com/google'
    env GOVCS='public:all,private:none'
    ! go get github.com/google/go-cmp
    stderr '^go: GOVCS disallows using git for private github.com/google/go-cmp; see ''go help vcs''$'
    
    # private pattern works
    env GOPRIVATE='hubgit.com/google'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 14:41:02 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, type I interface, unexported methods
    pkg p1, type MyInt int
    pkg p1, type Namer interface { Name }
    pkg p1, type Namer interface, Name() string
    pkg p1, type Private interface, X()
    pkg p1, type Private interface, unexported methods
    pkg p1, type Private //deprecated
    pkg p1, type Public interface { X, Y }
    pkg p1, type Public interface, X()
    pkg p1, type Public interface, Y()
    pkg p1, type S struct
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 02 16:29:41 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_auth.txt

    # With credentials from a netrc file, it should succeed.
    env NETRC=$WORK/netrc
    go mod tidy
    go list all
    stdout vcs-test.golang.org/auth/or401
    stdout vcs-test.golang.org/auth/or404
    
    -- go.mod --
    module private.example.com
    -- main.go --
    package useprivate
    
    import (
    	_ "vcs-test.golang.org/auth/or401"
    	_ "vcs-test.golang.org/auth/or404"
    )
    -- $WORK/empty --
    -- $WORK/netrc --
    machine vcs-test.golang.org
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 763 bytes
    - Viewed (0)
Back to top