The way beego if else is written

Why can"t you find scoreList in

if else

clipboard.png

clipboard.png

Apr.06,2022

assignment is performed in curly braces, and scoreList is used only in curly braces. Screenshot 1, the scoreList variable declaration is immediately outside, screenshot 2, and the variables obtained by curly braces still have this problem. Remove the colon and change the assignment immediately

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3a868-2c218.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3a868-2c218.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?