How to store the prompt into a vector collection and then loop it? #184
Unanswered
toriqahmads
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, thank you for creating this crate before
Currently I use this crate, but didn't see a feature for storing the prompt questions into a vector first. So, I try to achieve this with my very limited knowledge in rust. I try with this code, but I'm very struggle how to deal with the generic type in vector especially in closure validator.
I want to do this like requestty and a survery lib in golang does
requestty: https://github.com/Lutetium-Vanadium/requestty/blob/master/examples/macros.rs
survey: https://github.com/AlecAivazis/survey
It's possible to do this? if it does, how to do it?
Thank you so much
this my code
Beta Was this translation helpful? Give feedback.
All reactions