Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for isCfgVal (0.08 sec)

  1. pkg/test/framework/config/config.go

    			}
    		}
    
    		// if the registered flag implements config.Value, and is a non-string type, we can do fancy custom parsing
    		cfgValue, isCfgVal := f.Value.(Value)
    		if cfgMap := parent.Map(key); isCfgVal && len(cfgMap) > 0 {
    			err = cfgValue.SetConfig(cfgMap)
    		} else if cfgSlice := parent.Slice(key); isCfgVal && len(cfgSlice) > 0 {
    			err = cfgValue.SetConfig(cfgSlice)
    		} else if v := parent.String(key); v != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 3.1K bytes
    - Viewed (0)
Back to top