Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mustBeExportedSlow (0.12 sec)

  1. src/reflect/value.go

    	}
    }
    
    // mustBeExported panics if f records that the value was obtained using
    // an unexported field.
    func (f flag) mustBeExported() {
    	if f == 0 || f&flagRO != 0 {
    		f.mustBeExportedSlow()
    	}
    }
    
    func (f flag) mustBeExportedSlow() {
    	if f == 0 {
    		panic(&ValueError{valueMethodName(), Invalid})
    	}
    	if f&flagRO != 0 {
    		panic("reflect: " + valueMethodName() + " using value obtained using unexported field")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top