Skip to content

Commit 4d8693d

Browse files
authored
Merge pull request #758 from mattn/noncgo
Add build constraints for non cgo
2 parents 67c1376 + fc06e55 commit 4d8693d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+69
-40
lines changed

backup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2014 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
1+
// Copyright (C) 2019 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
22
//
33
// Use of this source code is governed by an MIT-style
44
// license that can be found in the LICENSE file.

backup_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
// Copyright (C) 2019 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
2+
//
13
// Use of this source code is governed by an MIT-style
24
// license that can be found in the LICENSE file.
35

6+
// +build cgo
7+
48
package sqlite3
59

610
import (

callback.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2014 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
1+
// Copyright (C) 2019 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
22
//
33
// Use of this source code is governed by an MIT-style
44
// license that can be found in the LICENSE file.

callback_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// Copyright (C) 2019 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
2+
//
3+
// Use of this source code is governed by an MIT-style
4+
// license that can be found in the LICENSE file.
5+
6+
// +build cgo
7+
18
package sqlite3
29

310
import (

error.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2014 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
1+
// Copyright (C) 2019 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
22
//
33
// Use of this source code is governed by an MIT-style
44
// license that can be found in the LICENSE file.

error_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
// Copyright (C) 2014 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
1+
// Copyright (C) 2019 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
22
//
33
// Use of this source code is governed by an MIT-style
44
// license that can be found in the LICENSE file.
55

6+
// +build cgo
7+
68
package sqlite3
79

810
import (

sqlite3.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2014 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
1+
// Copyright (C) 2019 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
22
// Copyright (C) 2018 G.J.R. Timmer <gjr.timmer@gmail.com>.
33
//
44
// Use of this source code is governed by an MIT-style

sqlite3_context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2014 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
1+
// Copyright (C) 2019 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
22
//
33
// Use of this source code is governed by an MIT-style
44
// license that can be found in the LICENSE file.

sqlite3_go18.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (C) 2014 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
1+
// Copyright (C) 2019 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
22
//
33
// Use of this source code is governed by an MIT-style
44
// license that can be found in the LICENSE file.

sqlite3_go18_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
// Copyright (C) 2014 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
1+
// Copyright (C) 2019 Yasuhiro Matsumoto <mattn.jp@gmail.com>.
22
//
33
// Use of this source code is governed by an MIT-style
44
// license that can be found in the LICENSE file.
55

6-
// +build go1.8
6+
// +build go1.8,cgo
77

88
package sqlite3
99

0 commit comments

Comments
 (0)