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

.
Menu