diff options
| author | Shulhan <m.shulhan@gmail.com> | 2020-02-13 20:14:39 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-02-13 20:29:20 +0700 |
| commit | 2425c08bc372809c28bea021cd9ed0de3b8eebb2 (patch) | |
| tree | 637c3e2963e870ad55afc51aae23e7d013b62483 /lib/sql/sql.go | |
| parent | 59a272ea3a32d19f35cffec31b36d7462039768e (diff) | |
| download | pakakeh.go-2425c08bc372809c28bea021cd9ed0de3b8eebb2.tar.xz | |
sql: a new package as an extension to "database/sql"
Diffstat (limited to 'lib/sql/sql.go')
| -rw-r--r-- | lib/sql/sql.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/sql/sql.go b/lib/sql/sql.go new file mode 100644 index 00000000..d2024ed5 --- /dev/null +++ b/lib/sql/sql.go @@ -0,0 +1,14 @@ +// Copyright 2020, Shulhan <m.shulhan@gmail.com>. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +// Package sql is an extension to standard library "database/sql.DB" that +// provide common functionality across DBMS. +// +package sql + +const ( + DriverNameMysql = "mysql" + DriverNamePostgres = "postgres" +) |
