Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for somefunc (0.28 sec)

  1. doc/go_spec.html

    b := sum[float64](2.0, 3)      // b has value 5.0 of type float64
    c := sum(b, -1)                // c has value 4.0 of type float64
    
    type sumFunc func(x... string) string
    var f sumFunc = sum            // same as var f sumFunc = sum[string]
    f = sum                        // same as f = sum[string]
    </pre>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top