摘要: 数据库链接池的实现步骤 ConnPool type ConnPool interface { Get() (*Conn, error) // 获取资源 Pulish(*Conn) error // 释放资源,返回池中 Shutdown() error // 关闭池 } type Connpool s 阅读全文
posted @ 2020-03-02 23:02 -零 阅读(974) 评论(0) 推荐(0) 编辑