mirror of
https://github.com/usememos/memos.git
synced 2024-12-29 08:33:50 +08:00
ddf4cae537
* 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>
14 lines
155 B
Go
14 lines
155 B
Go
package main
|
|
|
|
import (
|
|
_ "modernc.org/sqlite"
|
|
|
|
"github.com/usememos/memos/cmd"
|
|
)
|
|
|
|
func main() {
|
|
err := cmd.Execute()
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
}
|