Skip to content

Commit 13be538

Browse files
committed
Group the imports of three examples as goimports does
The json, mod_regexp and simple examples listed the module among the standard library imports, so goimports reported them. The previous commit changed those import lines, so give the module its own group.
1 parent 767572f commit 13be538

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

‎_example/json/json.go‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ import (
55
"database/sql/driver"
66
"encoding/json"
77
"fmt"
8-
_ "github.com/CovenantSQL/go-sqlite3-encrypt"
98
"log"
109
"os"
10+
11+
_ "github.com/CovenantSQL/go-sqlite3-encrypt"
1112
)
1213

1314
type Tag struct {

‎_example/mod_regexp/extension.go‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ package main
33
import (
44
"database/sql"
55
"fmt"
6-
"github.com/CovenantSQL/go-sqlite3-encrypt"
76
"log"
7+
8+
"github.com/CovenantSQL/go-sqlite3-encrypt"
89
)
910

1011
func main() {

‎_example/simple/simple.go‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ package main
33
import (
44
"database/sql"
55
"fmt"
6-
_ "github.com/CovenantSQL/go-sqlite3-encrypt"
76
"log"
87
"os"
8+
9+
_ "github.com/CovenantSQL/go-sqlite3-encrypt"
910
)
1011

1112
func main() {

0 commit comments

Comments
 (0)