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 encountered a problem while using dogsled to check my source code. I use tview in my project, which has an API that returns the coordinates and height and width of the rectangle where the UI element is located. Such APIs are common in UI libraries. But my code only needs to know the height, so I have to write this code:
_, _, _, height := ui.pages.GetRect()
But at this time dogsled told me that this was wrong. But I can’t really assign them to some variables, because I really do n’t need them!
So what should I do?
Thank you!
The text was updated successfully, but these errors were encountered:
I encountered a problem while using dogsled to check my source code. I use tview in my project, which has an API that returns the coordinates and height and width of the rectangle where the UI element is located. Such APIs are common in UI libraries. But my code only needs to know the height, so I have to write this code:
But at this time dogsled told me that this was wrong. But I can’t really assign them to some variables, because I really do n’t need them!
So what should I do?
Thank you!
The text was updated successfully, but these errors were encountered: