You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use case in which I have to parse the cue file and store the data in some custom format. For this purpose I am iterating over the cue using the *Iterator returned by cue.Value.Fields(opts...). This cue file may contain data of format
// this is a comment
a: int
if a != null {
c: 10
}
The cue.Option doesn't have any option to iterate over if-else block. Is there a way to parse if-else block?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have a use case in which I have to parse the cue file and store the data in some custom format. For this purpose I am iterating over the cue using the
*Iterator
returned bycue.Value.Fields(opts...)
. This cue file may contain data of formatThe
cue.Option
doesn't have any option to iterate over if-else block. Is there a way to parse if-else block?Beta Was this translation helpful? Give feedback.
All reactions