JavaScript is a great language. It has a simple syntax, large ecosystem and, what is most important, a great community. At the same time, we all know that JavaScript is quite a funny language with ...
... for rows.Next() { var foo Foo if err := rows.Scan(&foo.Id, &foo.Bars); err != nil { return Foo{}, err } return foo, nil } I suppose this error does not come from ...