[chore] entry point for sqlite server

Signed-off-by: Anton Nesterov <anton@demiurg.io>
This commit is contained in:
Anton Nesterov 2024-08-20 16:28:48 +02:00
parent ae6799ca8e
commit b763c52867
No known key found for this signature in database
GPG key ID: 59121E8AE2851FB5
3 changed files with 42 additions and 2 deletions

29
go.mod
View file

@ -1,3 +1,32 @@
module github.com/nesterow/dal module github.com/nesterow/dal
go 1.22.6 go 1.22.6
replace github.com/nesterow/dal/pkg/adapter => ./pkg/adapter
replace github.com/nesterow/dal/pkg/builder => ./pkg/builder
replace github.com/nesterow/dal/pkg/filters => ./pkg/filters
replace github.com/nesterow/dal/pkg/utils => ./pkg/utils
replace github.com/nesterow/dal/pkg/handler => ./pkg/handler
replace github.com/nesterow/dal/pkg/proto => ./pkg/proto
require (
github.com/mattn/go-sqlite3 v1.14.22
github.com/nesterow/dal/pkg/facade v0.0.0-20240820142147-ae6799ca8e35
)
require (
github.com/nesterow/dal/pkg/adapter v0.0.0 // indirect
github.com/nesterow/dal/pkg/builder v0.0.0 // indirect
github.com/nesterow/dal/pkg/filters v0.0.0 // indirect
github.com/nesterow/dal/pkg/handler v0.0.0-00010101000000-000000000000 // indirect
github.com/nesterow/dal/pkg/proto v0.0.0 // indirect
github.com/nesterow/dal/pkg/utils v0.0.0 // indirect
github.com/philhofer/fwd v1.1.3-0.20240612014219-fbbf4953d986 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/tinylib/msgp v1.2.0 // indirect
)

10
go.sum Normal file
View file

@ -0,0 +1,10 @@
github.com/mattn/go-sqlite3 v1.14.22 h1:2gZY6PC6kBnID23Tichd1K+Z0oS6nE/XwU+Vz/5o4kU=
github.com/mattn/go-sqlite3 v1.14.22/go.mod h1:Uh1q+B4BYcTPb+yiD3kU8Ct7aC0hY9fxUwlHK0RXw+Y=
github.com/nesterow/dal/pkg/facade v0.0.0-20240820142147-ae6799ca8e35 h1:r/itSeN7w1MChNw9uirGtvI7jM2OITrbyBmLjpRqIqs=
github.com/nesterow/dal/pkg/facade v0.0.0-20240820142147-ae6799ca8e35/go.mod h1:pYqz2/d8sIHYVcmjgFlUpNivwBCCypCSCUBamjI7Y3A=
github.com/philhofer/fwd v1.1.3-0.20240612014219-fbbf4953d986 h1:jYi87L8j62qkXzaYHAQAhEapgukhenIMZRBKTNRLHJ4=
github.com/philhofer/fwd v1.1.3-0.20240612014219-fbbf4953d986/go.mod h1:RqIHx9QI14HlwKwm98g9Re5prTQ6LdeRQn+gXJFxsJM=
github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4=
github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/tinylib/msgp v1.2.0 h1:0uKB/662twsVBpYUPbokj4sTSKhWFKB7LopO2kWK8lY=
github.com/tinylib/msgp v1.2.0/go.mod h1:2vIGs3lcUo8izAATNobrCHevYZC/LMsJtw4JPiYPHro=

View file

@ -6,6 +6,7 @@ import (
) )
func main() { func main() {
facade.Init() server := facade.SQLiteServer{}
facade.Serve() server.Init()
server.Serve()
} }