Start work on introducing machine-readable error codes.

This commit introduces a new type 'ErrNo', implementing the error
interface.  Constants for all sqlite3 error codes are provided
in the new source file "error.go".
This commit is contained in:
Jochen Voss
2013-06-20 21:52:38 +01:00
committed by mattn
parent ad95f5fd3d
commit ff8e6729ce
6 changed files with 93 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
package sqlite
package sqlite3
/*
#cgo CFLAGS: -I. -fno-stack-check -fno-stack-protector -mno-stack-arg-probe