code: func Data(ei *dosa.EntityInfo, minimumFields []string) map[string]dosa.FieldValue {
  	var result = map[string]dosa.FieldValue{}
  	for _, field := range minimumFields {
  		var v dosa.FieldValue
  		cd := ei.Def.FindColumnDefinition(field)
  		switch cd.Type {
  		case dosa.Int32:
  			v = dosa.FieldValue(rand.Int31())
  		case dosa.Int64:
  			v = dosa.FieldValue(rand.Int63())
  		case dosa.Bool:
  			if rand.Intn(2) == 0 {
  				v = dosa.FieldValue(false)
  			} else {
  				v = dosa.FieldValue(true)
  			}
  		case dosa.Blob:
  			// Blobs vary in length from 1 to maxBlobSize bytes
  			blen := rand.Intn(maxBlobSize-1) + 1
  			blob := make([]byte, blen)
  			for i := range blob {
  				blob[i] = byte(rand.Intn(256))
  			}
  			v = dosa.FieldValue(blob)
  		case dosa.String:
  			slen := rand.Intn(maxStringSize) + 1
  			v = dosa.FieldValue(randomString(slen))
  		case dosa.Double:
  			v = dosa.FieldValue(rand.Float64())
  		case dosa.Timestamp:
  			v = dosa.FieldValue(time.Unix(0, rand.Int63()/2))
  		case dosa.TUUID:
  			v = dosa.FieldValue(dosa.NewUUID())
  		default:
  			panic("invalid type " + cd.Type.String())
  
  		}
  		result[field] = v
  	}
  	return result
  }
docs: // Data generates some random data. Because our test is blackbox in a different package,
  // we have to export this