Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for interfaces (0.16 sec)

  1. doc/go1.17_spec.html

    func(prefix string, values ...int)
    func(a, b int, z float64, opt ...interface{}) (success bool)
    func(int, int, float64) (float64, *[]int)
    func(n int) func(p *T)
    </pre>
    
    
    <h3 id="Interface_types">Interface types</h3>
    
    <p>
    An interface type specifies a <a href="#Method_sets">method set</a> called its <i>interface</i>.
    A variable of interface type can store a value of any type with a method set
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  2. doc/go_spec.html

    struct{f any}      comparable                     // satisfied: struct{f any} is comparable and implements the basic interface any
    any                interface{ comparable; m() }   // not satisfied: any does not implement the basic interface interface{ m() }
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  3. api/next/61897.txt

    pkg iter, func Pull2[$0 interface{}, $1 interface{}](Seq2[$0, $1]) (func() ($0, $1, bool), func()) #61897
    pkg iter, func Pull[$0 interface{}](Seq[$0]) (func() ($0, bool), func()) #61897
    pkg iter, type Seq2[$0 interface{}, $1 interface{}] func(func($0, $1) bool) #61897
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon May 06 20:33:25 GMT 2024
    - 331 bytes
    - Viewed (0)
  4. doc/next/6-stdlib/99-minor/archive/tar/50102.md

    If the argument to [FileInfoHeader] implements the new [FileInfoNames]
    interface, then the interface methods will be used to set the Uname/Gname
    of the file header. This allows applications to override the system-dependent
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 243 bytes
    - Viewed (0)
  5. doc/godebug.md

    of the existing PolicyIdentifiers field, by using the
    [`x509usepolicies` setting.](/pkg/crypto/x509/#CreateCertificate).
    
    
    ### Go 1.21
    
    Go 1.21 made it a run-time error to call `panic` with a nil interface value,
    controlled by the [`panicnil` setting](/pkg/builtin/#panic).
    
    Go 1.21 made it an error for html/template actions to appear inside of an ECMAScript 6
    template literal, controlled by the
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  6. src/builtin/builtin.go

    type rune = int32
    
    // any is an alias for interface{} and is equivalent to interface{} in all ways.
    type any = interface{}
    
    // comparable is an interface that is implemented by all comparable types
    // (booleans, numbers, strings, pointers, channels, arrays of comparable types,
    // structs whose fields are all comparable types).
    // The comparable interface may only be used as a type parameter constraint,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
Back to top