• Implementation of golang SQL connection pool


    Preface Goang’s “database/sql” is a package commonly used in database operation. This package defines some interfaces for SQL operation. The specific implementation also needs different database implementations. One of the better drivers of MySQL is github.com/go-sql-driver/mysql. The implementation of “database/sql” in interface and driver design is very excellent, which is worth learning from for similar […]