Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for onResult (0.07 sec)

  1. cmd/iam.go

    		err = errServerNotInitialized
    		return
    	}
    
    	var dn string
    	var dnResult *ldap.DNSearchResult
    	var isGroup bool
    	if r.User != "" {
    		dnResult, err = sys.LDAPConfig.GetValidatedDNForUsername(r.User)
    		if err != nil {
    			iamLogIf(ctx, err)
    			return
    		}
    		if dnResult == nil {
    			// dn not found - still attempt to detach if provided user is a DN.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 29 16:01:48 UTC 2024
    - 74.6K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    <pre class="ebnf">
    ReturnStmt = "return" [ ExpressionList ] .
    </pre>
    
    <p>
    In a function without a result type, a "return" statement must not
    specify any result values.
    </p>
    <pre>
    func noResult() {
    	return
    }
    </pre>
    
    <p>
    There are three ways to return values from a function with a result
    type:
    </p>
    
    <ol>
    	<li>The return value or values may be explicitly listed
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 10 18:25:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
Back to top