in app/pubsub-integration/avro/avro.go [66:72]
func GetValue[T any](data map[string]interface{}, key string, valueType T) (T, error) {
val, ok := data[key]
if !ok {
return valueType, fmt.Errorf("the key %s does not exist", key)
}
return toType(val, valueType)
}