Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for sideEffect (0.05 seconds)

  1. doc/go_spec.html

    </p>
    
    <p>
    For instance, given the declarations
    </p>
    
    <pre>
    var x = I(T{}).ab()   // x has an undetected, hidden dependency on a and b
    var _ = sideEffect()  // unrelated to x, a, or b
    var a = b
    var b = 42
    
    type I interface      { ab() []int }
    type T struct{}
    func (T) ab() []int   { return []int{a, b} }
    </pre>
    
    <p>
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Apr 01 23:39:18 GMT 2026
    - 287.8K bytes
    - Click Count (1)
  2. CHANGELOG/CHANGELOG-1.16.md

      - `failurePolicy` default changed from `Ignore` to `Fail` for v1
      - `matchPolicy` default changed from `Exact` to `Equivalent` for v1
      - `timeout` default changed from `30s` to `10s` for v1
      - `sideEffects` default value is removed, and the field made required, and only `None` and `NoneOnDryRun` are permitted for v1
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Oct 23 20:13:20 GMT 2024
    - 345.2K bytes
    - Click Count (0)
Back to Top