Artificial intelligent assistant

Goのデータベース接続はどこに書けばいいのでしょうか。 GoWebAPIhandlers/inqueryHandlers.gohandlers/proxyHandlers.gohandlershandlers`_"github.com/lib/pq"`maintestlint? postgresql handlers    inqueryHandlers.go    proxyHandlers.go loger.go main.go model    inquery.go router.go routes.go

`golint`

<

> Because it makes it impossible to use such a package with a different
> dependency (e.g. a different MySQL driver), and slows down the build
> because the program must be built from the bottom up. Underscore
> imports should normally be in the main package, or you should add a
> comment explaining why the package needs to do the underscore import.

import`main`

`main`

`golint`

> a blank import should be only in a main or test package, or have a comment justifying it

`main` `test`


import (
// PostgreSQL driver
_ "github.com/lib/pq"
)

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 0fdabc20c83b9a0ae4bc571d4bef5c13