Check if in lib
(dataVal []string)
| 31 | |
| 32 | // Check if in lib |
| 33 | func dataCheck(dataVal []string) bool { |
| 34 | var checkOk bool |
| 35 | |
| 36 | if len(dataVal) == 2 { |
| 37 | _, checkOk = data.Data[dataVal[0]] |
| 38 | if checkOk { |
| 39 | _, checkOk = data.Data[dataVal[0]][dataVal[1]] |
| 40 | } |
| 41 | } |
| 42 | |
| 43 | return checkOk |
| 44 | } |
| 45 | |
| 46 | // Get Random Value |
| 47 | func getRandValue(f *Faker, dataVal []string) string { |
no outgoing calls
no test coverage detected
searching dependent graphs…