go操作postgresql
_ "github.com/lib/pq"
host=localhost port=5432 user=postgres password=asdf dbname=postgres sslmode=disable
db, err := sql.Open("postgres", connstr)
go操作postgresql
_ "github.com/lib/pq"
host=localhost port=5432 user=postgres password=asdf dbname=postgres sslmode=disable
db, err := sql.Open("postgres", connstr)
本文来自博客园,作者:{咏南中间件},转载请注明原文链接:https://www.cnblogs.com/hnxxcxg/p/16526589.html