Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for fortune (0.54 sec)

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

    stderr '^go: rsc.io/fortune/nonexist@v0: module rsc.io/fortune@v0 found \(v0.0.1\), but does not contain package rsc.io/fortune/nonexist'
    
    # go install m@v should use local toolchain if not upgrading
    ! go install rsc.io/fortune/nonexist@v1
    ! stderr go1.22.9
    ! stderr switching
    stderr '^go: downloading rsc.io/fortune v1.0.0$'
    stderr '^go: rsc.io/fortune/nonexist@v1: module rsc.io/fortune@v1 found \(v1.0.0\), but does not contain package rsc.io/fortune/nonexist'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 25 21:19:11 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/version.txt

    [short] skip
    
    # Check that 'go version' and 'go version -m' work on a binary built in module mode.
    go get rsc.io/fortune
    go build -o fortune.exe rsc.io/fortune
    go version fortune.exe
    stdout '^fortune.exe: .+'
    go version -m fortune.exe
    stdout -buildmode=exe
    stdout '^\tpath\trsc.io/fortune'
    stdout '^\tmod\trsc.io/fortune\tv1.0.0'
    
    # Check the build info of a binary built from $GOROOT/src/cmd
    go build -o test2json.exe cmd/test2json
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 14:52:04 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/mod_install_pkg_version.txt

    go mod edit -require=rsc.io/fortune@v1.0.0
    ! go install -mod=readonly $GOPATH/pkg/mod/rsc.io/fortune@v1.0.0
    stderr '^missing go\.sum entry for module providing package rsc\.io/fortune; to add:\n\tgo mod download rsc\.io/fortune$'
    ! go install -mod=readonly ../../pkg/mod/rsc.io/fortune@v1.0.0
    stderr '^missing go\.sum entry for module providing package rsc\.io/fortune; to add:\n\tgo mod download rsc\.io/fortune$'
    go get rsc.io/fortune@v1.0.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 17:25:54 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/version_cshared.txt

    [!cgo] skip '-buildmode=c-shared requires external linking'
    [!buildmode:c-shared] stop
    
    env GO111MODULE=on
    
    go get rsc.io/fortune
    go build -buildmode=c-shared -o external.so rsc.io/fortune
    go version external.so
    stdout '^external.so: .+'
    go version -m external.so
    stdout '^\tpath\trsc.io/fortune'
    stdout '^\tmod\trsc.io/fortune\tv1.0.0'
    
    -- go.mod --
    module m
    
    -- empty.go --
    package main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 14:52:04 UTC 2024
    - 416 bytes
    - Viewed (0)
  5. src/testing/fstest/mapfs_test.go

    	"strings"
    	"testing"
    )
    
    func TestMapFS(t *testing.T) {
    	m := MapFS{
    		"hello":             {Data: []byte("hello, world\n")},
    		"fortune/k/ken.txt": {Data: []byte("If a program is too slow, it must have a loop.\n")},
    	}
    	if err := TestFS(m, "hello", "fortune", "fortune/k", "fortune/k/ken.txt"); err != nil {
    		t.Fatal(err)
    	}
    }
    
    func TestMapFSChmodDot(t *testing.T) {
    	m := MapFS{
    		"a/b.txt": &MapFile{Mode: 0666},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 14:59:55 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/mod/rsc.io_fortune_v0.0.1.txt

    rsc.io/fortune 0.0.1
    written by hand
    
    -- .mod --
    module rsc.io/fortune
    go 1.21rc999
    
    -- go.mod --
    module rsc.io/fortune
    go 1.21rc999
    
    -- .info --
    {"Version":"v0.0.1"}
    -- fortune.go --
    package main
    
    import "rsc.io/quote"
    
    func main() {
    	println(quote.Hello())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 25 17:34:01 UTC 2023
    - 261 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_run_pkg_version.txt

    go mod init tmp
    go mod edit -require=rsc.io/fortune@v1.0.0
    ! go run -mod=readonly $GOPATH/pkg/mod/rsc.io/fortune@v1.0.0
    stderr '^missing go\.sum entry for module providing package rsc\.io/fortune; to add:\n\tgo mod download rsc\.io/fortune$'
    ! go run -mod=readonly ../../pkg/mod/rsc.io/fortune@v1.0.0
    stderr '^missing go\.sum entry for module providing package rsc\.io/fortune; to add:\n\tgo mod download rsc\.io/fortune$'
    cd ..
    rm tmp
    
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 17:25:54 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/mod_gonoproxy.txt

    # When GOPROXY=off, fetching modules not matched by GONOPROXY fails.
    env GONOPROXY=*/fortune
    env GOPROXY=off
    ! go get golang.org/x/text
    stderr '^go: golang.org/x/text: module lookup disabled by GOPROXY=off$'
    
    # GONOPROXY bypasses proxy
    [!net:rsc.io] skip
    [!git] skip
    env GOPRIVATE=none
    env GONOPROXY='*/fortune'
    ! go get rsc.io/fortune # does not exist in real world, only on test proxy
    stderr 'git ls-remote'
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/mod/rsc.io_panicnil_v1.0.0.txt

    rsc.io/panicnil v1.0.0
    written by hand
    
    -- .mod --
    module rsc.io/panicnil
    -- .info --
    {"Version":"v1.0.0"}
    -- fortune.go --
    package main
    
    func main() {
    	panic(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:55:13 UTC 2023
    - 166 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/mod/rsc.io_panicnil_v1.1.0.txt

    rsc.io/panicnil v1.1.0
    written by hand
    
    -- .mod --
    module rsc.io/panicnil
    go 1.21
    -- .info --
    {"Version":"v1.1.0"}
    -- fortune.go --
    package main
    
    func main() {
    	panic(nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 10:55:13 UTC 2023
    - 174 bytes
    - Viewed (0)
Back to top