Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Joe (0.02 sec)

  1. doc/go_spec.html

    Given the function and calls
    </p>
    <pre>
    func Greeting(prefix string, who ...string)
    Greeting("nobody")
    Greeting("hello:", "Joe", "Anna", "Eileen")
    </pre>
    
    <p>
    within <code>Greeting</code>, <code>who</code> will have the value
    <code>nil</code> in the first call, and
    <code>[]string{"Joe", "Anna", "Eileen"}</code> in the second.
    </p>
    
    <p>
    If the final argument is assignable to a slice type <code>[]T</code> and
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
Back to top