Java provides multiple levels of SQL-based database access, referred to as JDBC (aka Java Database Connectivity), in the java.sql and java.sqlx packages. Go does much the same thing but with less function with the sql and driver packages. The sql package provides a generic framework of functions like java.sql does for SQL databases, while the driver package is a Systems Programming Interface (SPI) to allow pluggable drivers to be consumed. Most SQL actions are done by the drivers. Unlike with Java, most ...
15. SQL Database Access
Get Go for Java Programmers: Learn the Google Go Programming Language now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.