From 8c12c6939aab9106db14ec2d11d983bc5b29fb2c Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Sun, 7 Jul 2019 21:33:44 +0100 Subject: Switch to modules --- .../go-sqlite3/sqlite3_load_extension_omit.go | 24 ---------------------- 1 file changed, 24 deletions(-) delete mode 100644 vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension_omit.go (limited to 'vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension_omit.go') diff --git a/vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension_omit.go b/vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension_omit.go deleted file mode 100644 index 7ea3294..0000000 --- a/vendor/github.com/mattn/go-sqlite3/sqlite3_load_extension_omit.go +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (C) 2014 Yasuhiro Matsumoto . -// -// Use of this source code is governed by an MIT-style -// license that can be found in the LICENSE file. - -// +build sqlite_omit_load_extension - -package sqlite3 - -/* -#cgo CFLAGS: -DSQLITE_OMIT_LOAD_EXTENSION -*/ -import "C" -import ( - "errors" -) - -func (c *SQLiteConn) loadExtensions(extensions []string) error { - return errors.New("Extensions have been disabled for static builds") -} - -func (c *SQLiteConn) LoadExtension(lib string, entry string) error { - return errors.New("Extensions have been disabled for static builds") -} -- cgit v1.2.3