An example of a CRUD api in Go
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package dbhandle |
|
|
|
import "database/sql" |
|
|
|
type DB struct { |
|
*sql.DB |
|
} |
|
|
|
const drivername string = "sqlite3" |
|
|
|
var tableName string
|
|
|