Remove dependency on CGO
This commit changes the SQLite dependency to one that does not depend on CGO. It uses a C-to-Go translated sqlite library that is Pure go.
This commit is contained in:
parent
a37339fa54
commit
bfbcea35a0
9 changed files with 192 additions and 298 deletions
2
db.go
2
db.go
|
@ -3,8 +3,8 @@ package headscale
|
|||
import (
|
||||
"errors"
|
||||
|
||||
"github.com/glebarez/sqlite"
|
||||
"gorm.io/driver/postgres"
|
||||
"gorm.io/driver/sqlite"
|
||||
"gorm.io/gorm"
|
||||
"gorm.io/gorm/logger"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue