Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,521 for examplev1 (0.4 sec)

  1. src/cmd/go/testdata/mod/example.com_cmd_v1.0.0-replace.txt

    example.com/cmd contains main packages.
    
    -- .info --
    {"Version":"v1.0.0-replace"}
    -- .mod --
    module example.com/cmd
    
    go 1.16
    
    replace rsc.io/quote => rsc.io/quote v1.5.2
    -- go.mod --
    module example.com/cmd
    
    go 1.16
    
    replace rsc.io/quote => rsc.io/quote v1.5.2
    -- a/a.go --
    package main
    
    func main() {}
    -- b/b.go --
    package main
    
    func main() {}
    -- err/err.go --
    package err
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 15 12:45:59 UTC 2020
    - 397 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/mod/example.com_retract_rename_v1.9.0-new.txt

    Module example.com/retract/rename is renamed in this version.
    
    This happens frequently when a repository is renamed or when a go.mod file
    is added for the first time with a custom module path.
    -- .info --
    {"Version":"v1.9.0-new"}
    -- .mod --
    module example.com/retract/newname
    
    go 1.16
    
    // bad
    retract v1.0.0-bad
    -- go.mod --
    module example.com/retract/newname
    
    go 1.16
    
    // bad
    retract v1.0.0-bad
    -- newname.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 22 17:59:55 UTC 2020
    - 429 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/example2/v1/generated.proto

    syntax = "proto2";
    
    package k8s.io.apiserver.pkg.apis.example2.v1;
    
    import "k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto";
    import "k8s.io/apimachinery/pkg/runtime/generated.proto";
    import "k8s.io/apimachinery/pkg/runtime/schema/generated.proto";
    
    // Package-wide variables from generator "generated".
    option go_package = "k8s.io/apiserver/pkg/apis/example2/v1";
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. src/errors/example_test.go

    	}
    	// Output:
    	// err1
    	// err2
    	// err is err1
    	// err is err2
    }
    
    func ExampleIs() {
    	if _, err := os.Open("non-existing"); err != nil {
    		if errors.Is(err, fs.ErrNotExist) {
    			fmt.Println("file does not exist")
    		} else {
    			fmt.Println(err)
    		}
    	}
    
    	// Output:
    	// file does not exist
    }
    
    func ExampleAs() {
    	if _, err := os.Open("non-existing"); err != nil {
    		var pathError *fs.PathError
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 02:08:40 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  5. src/go/doc/testdata/examples/README.md

    A .golden file is a txtar file with two sections for each example that should be
    created by doc.Examples from the corresponding .go file.
    
    One section, named EXAMPLE_NAME.Output, contains the example's output,
    the value of the field Example.Output.
    
    The other, named EXAMPLE_NAME.Play, contains the formatted code for a playable
    version of the example, the value of the field Example.Play.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 506 bytes
    - Viewed (0)
  6. src/cmd/go/testdata/mod/example.com_retract_incompatible_v2.0.0+incompatible.txt

    The v1.0.0 release of example.com/retract/incompatible retracts
    v2.0.0+incompatible.
    
    -- .mod --
    module example.com/retract/incompatible
    -- .info --
    {"Version":"v2.0.0+incompatible"}
    -- incompatible.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 20 16:23:19 UTC 2020
    - 226 bytes
    - Viewed (0)
  7. src/cmd/go/testdata/mod/example.com_pseudoupgrade_v0.0.0-20190430073000-30950c05d534.txt

    example.com/pseudoupgrade v0.0.0-20190429073000-30950c05d534
    written by hand
    
    -- .mod --
    module example.com/pseudoupgrade
    
    -- .info --
    {"Version":"v0.0.0-20190430073000-30950c05d534","Name":"v0.0.0-20190430073000-30950c05d534","Short":"30950c05d534","Time":"2019-04-30T07:30:00Z"}
    
    -- pseudoupgrade.go --
    package pseudoupgrade
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 14 18:01:34 UTC 2019
    - 340 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/mod/example.com_dotgo.go_v1.0.0.txt

    This module's path ends with ".go".
    Based on github.com/nats-io/nats.go.
    Used in regression tests for golang.org/issue/32483.
    
    -- .mod --
    module example.com/dotgo.go
    
    go 1.13
    -- .info --
    {"Version":"v1.0.0"}
    -- go.mod --
    module example.com/dotgo.go
    
    go 1.13
    -- dotgo.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 11 20:19:25 UTC 2019
    - 287 bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/applyconfiguration/cr/v1/example.go

    }
    
    // Example constructs an declarative configuration of the Example type for use with
    // apply.
    func Example(name, namespace string) *ExampleApplyConfiguration {
    	b := &ExampleApplyConfiguration{}
    	b.WithName(name)
    	b.WithNamespace(namespace)
    	b.WithKind("Example")
    	b.WithAPIVersion("cr.example.apiextensions.k8s.io/v1")
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 10 10:01:37 UTC 2023
    - 10K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/mod/example.com_retract_self_prerelease_v1.9.1-pre.txt

    Module example.com/retract/self/prerelease is a module that retracts its own
    latest version and all other release version.
    
    A pre-release version higher than the highest release version is still
    available, and that should be matched by @latest.
    
    -- .mod --
    module example.com/retract/self/prerelease
    
    go 1.15
    
    -- .info --
    {"Version":"v1.9.1-pre"}
    
    -- p.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 26 21:17:01 UTC 2020
    - 369 bytes
    - Viewed (0)
Back to top