The problem of if sentence in go language

What is the meaning of this concatenation of if statements in the go language?

    if err := DB.Self.Where(where).Offset(offset).Limit(limit).Order("id desc").Find(&articles).Error; err != nil {
        return articles, count, err
    }
Oct.28,2021

Isn't it easy to understand

?

if ;

execute statement one first; then judge the conditional expression


  

Syntax as said on the first floor, writing like this is equivalent to limiting err to the scope of this if statement and will not affect other err

.
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-1b37337-2b7f0.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-1b37337-2b7f0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?