mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: disable CGO_ENABLED (#1766)
* Replace mattn/go-sqlite3 with modernc.org/sqlite * Disable CGO to make binary work without special c lib * Replace mattn/go-sqlite3 with modernc.org/sqlite in testing code * Tidy go module --------- Co-authored-by: Athurg Feng <athurg@gooth.org>
This commit is contained in:
@ -16,8 +16,8 @@ import (
|
||||
"github.com/usememos/memos/store/db"
|
||||
"github.com/usememos/memos/test"
|
||||
|
||||
// sqlite3 driver.
|
||||
_ "github.com/mattn/go-sqlite3"
|
||||
// sqlite driver.
|
||||
_ "modernc.org/sqlite"
|
||||
)
|
||||
|
||||
type TestingServer struct {
|
||||
|
Reference in New Issue
Block a user