-
I'm trying to do something like this. Is this or something similar possible? |
Beta Was this translation helpful? Give feedback.
Answered by
rew1nter
Nov 26, 2022
Replies: 2 comments
-
I have done something similar, you can refer to https://github.com/fzdwx/infinite/blob/main/_examples/progress/main.go |
Beta Was this translation helpful? Give feedback.
0 replies
-
I figured out this is easily doable using the ViewAs() func. You just have to divide 1 by your total progress count and the result is what you increment for each progress. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
bashbunni
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I figured out this is easily doable using the ViewAs() func. You just have to divide 1 by your total progress count and the result is what you increment for each progress.