use "_key" or the db file will not be opened (#13)

This commit is contained in:
Shilyx 2020-05-05 10:40:25 +08:00 committed by GitHub
parent 5ef699997e
commit 122bc51f25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ import (
)
func main() {
db, err := sql.Open("sqlite3", "users.db?key=123456")
db, err := sql.Open("sqlite3", "users.db?_key=123456")
if err != nil {
fmt.Println(err)
}