[ref] go module paths

Signed-off-by: Anton Nesterov <anton@demiurg.io>
This commit is contained in:
Anton Nesterov 2024-08-20 16:21:40 +02:00
parent cc113ecc49
commit ae6799ca8e
No known key found for this signature in database
GPG key ID: 59121E8AE2851FB5
7 changed files with 70 additions and 54 deletions

11
main.go Normal file
View file

@ -0,0 +1,11 @@
package main
import (
_ "github.com/mattn/go-sqlite3"
"github.com/nesterow/dal/pkg/facade"
)
func main() {
facade.Init()
facade.Serve()
}

View file

@ -2,10 +2,8 @@ module github.com/nesterow/dal/pkg/adapter
go 1.22.6 go 1.22.6
replace github.com/nesterow/dal/pkg/utils v0.0.0 => ../utils require github.com/nesterow/dal/pkg/utils v0.0.0-00010101000000-000000000000
replace github.com/nesterow/dal/pkg/filters v0.0.0 => ../filters replace github.com/nesterow/dal/pkg/utils => ../utils
require github.com/nesterow/dal/pkg/utils v0.0.0
require github.com/pkg/errors v0.9.1 // indirect require github.com/pkg/errors v0.9.1 // indirect

View file

@ -2,16 +2,16 @@ module github.com/nesterow/dal/pkg/builder
go 1.22.6 go 1.22.6
require github.com/nesterow/dal/pkg/utils v0.0.0 require (
github.com/nesterow/dal/pkg/adapter v0.0.0
github.com/nesterow/dal/pkg/filters v0.0.0-00010101000000-000000000000
github.com/nesterow/dal/pkg/utils v0.0.0
)
replace github.com/nesterow/dal/pkg/utils v0.0.0 => ../utils replace github.com/nesterow/dal/pkg/utils => ../utils
require github.com/nesterow/dal/pkg/filters v0.0.0
require github.com/pkg/errors v0.9.1 // indirect require github.com/pkg/errors v0.9.1 // indirect
replace github.com/nesterow/dal/pkg/filters v0.0.0 => ../filters replace github.com/nesterow/dal/pkg/filters => ../filters
require github.com/nesterow/dal/pkg/adapter v0.0.0 replace github.com/nesterow/dal/pkg/adapter => ../adapter
replace github.com/nesterow/dal/pkg/adapter v0.0.0 => ../adapter

View file

@ -2,28 +2,29 @@ module github.com/nesterow/dal/pkg/facade
go 1.22.6 go 1.22.6
replace github.com/nesterow/dal/pkg/filters v0.0.0 => ../filters replace github.com/nesterow/dal/pkg/filters => ../filters
replace github.com/nesterow/dal/pkg/builder v0.0.0 => ../builder replace github.com/nesterow/dal/pkg/builder => ../builder
require github.com/nesterow/dal/pkg/adapter v0.0.0
replace github.com/nesterow/dal/pkg/adapter v0.0.0 => ../adapter
replace github.com/nesterow/dal/pkg/utils v0.0.0 => ../utils
require ( require (
github.com/philhofer/fwd v1.1.3-0.20240612014219-fbbf4953d986 // indirect github.com/nesterow/dal/pkg/adapter v0.0.0
github.com/pkg/errors v0.9.1 // indirect github.com/nesterow/dal/pkg/handler v0.0.0-00010101000000-000000000000
github.com/tinylib/msgp v1.2.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/utils v0.0.0 // indirect
github.com/nesterow/dal/pkg/proto v0.0.0 github.com/nesterow/dal/pkg/proto v0.0.0
) )
replace github.com/nesterow/dal/pkg/proto v0.0.0 => ../proto replace github.com/nesterow/dal/pkg/adapter => ../adapter
require github.com/nesterow/dal/pkg/handler v0.0.0 replace github.com/nesterow/dal/pkg/utils => ../utils
replace github.com/nesterow/dal/pkg/handler v0.0.0 => ../handler require (
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/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
)
replace github.com/nesterow/dal/pkg/proto => ../proto
replace github.com/nesterow/dal/pkg/handler => ../handler

View file

@ -4,10 +4,11 @@ go 1.22.6
require github.com/pkg/errors v0.9.1 // indirect require github.com/pkg/errors v0.9.1 // indirect
require github.com/nesterow/dal/pkg/utils v0.0.0 require (
github.com/nesterow/dal/pkg/adapter v0.0.0-00010101000000-000000000000
github.com/nesterow/dal/pkg/utils v0.0.0-00010101000000-000000000000
)
replace github.com/nesterow/dal/pkg/utils v0.0.0 => ../utils replace github.com/nesterow/dal/pkg/utils => ../utils
require github.com/nesterow/dal/pkg/adapter v0.0.0 replace github.com/nesterow/dal/pkg/adapter => ../adapter
replace github.com/nesterow/dal/pkg/adapter v0.0.0 => ../adapter

View file

@ -2,19 +2,26 @@ module github.com/nesterow/dal/pkg/http
go 1.22.6 go 1.22.6
replace github.com/nesterow/dal/pkg/filters v0.0.0 => ../filters replace github.com/nesterow/dal/pkg/filters => ../filters
replace github.com/nesterow/dal/pkg/builder v0.0.0 => ../builder replace github.com/nesterow/dal/pkg/builder => ../builder
require github.com/nesterow/dal/pkg/adapter v0.0.0 require (
github.com/nesterow/dal/pkg/adapter v0.0.0
github.com/nesterow/dal/pkg/proto v0.0.0-00010101000000-000000000000
)
replace github.com/nesterow/dal/pkg/adapter v0.0.0 => ../adapter require (
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/utils v0.0.0 // indirect
)
replace github.com/nesterow/dal/pkg/utils v0.0.0 => ../utils replace github.com/nesterow/dal/pkg/adapter => ../adapter
require github.com/nesterow/dal/pkg/proto v0.0.0 replace github.com/nesterow/dal/pkg/utils => ../utils
replace github.com/nesterow/dal/pkg/proto v0.0.0 => ../proto replace github.com/nesterow/dal/pkg/proto => ../proto
require ( require (
github.com/mattn/go-sqlite3 v1.14.22 github.com/mattn/go-sqlite3 v1.14.22
@ -22,7 +29,4 @@ require (
github.com/pkg/errors v0.9.1 // indirect github.com/pkg/errors v0.9.1 // indirect
github.com/tinylib/msgp v1.2.0 // indirect github.com/tinylib/msgp v1.2.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/utils v0.0.0 // indirect
) )

View file

@ -2,23 +2,24 @@ module github.com/nesterow/dal/pkg/proto
go 1.22.6 go 1.22.6
require github.com/nesterow/dal/pkg/builder v0.0.0 replace github.com/nesterow/dal/pkg/builder => ../builder
replace github.com/nesterow/dal/pkg/builder v0.0.0 => ../builder require (
github.com/nesterow/dal/pkg/adapter v0.0.0
require github.com/tinylib/msgp v1.2.0 github.com/nesterow/dal/pkg/builder v0.0.0-00010101000000-000000000000
github.com/tinylib/msgp v1.2.0
)
require github.com/philhofer/fwd v1.1.3-0.20240612014219-fbbf4953d986 // indirect require github.com/philhofer/fwd v1.1.3-0.20240612014219-fbbf4953d986 // indirect
replace github.com/nesterow/dal/pkg/utils v0.0.0 => ../utils replace github.com/nesterow/dal/pkg/utils => ../utils
replace github.com/nesterow/dal/pkg/adapter v0.0.0 => ../adapter replace github.com/nesterow/dal/pkg/adapter => ../adapter
replace github.com/nesterow/dal/pkg/filters v0.0.0 => ../filters replace github.com/nesterow/dal/pkg/filters => ../filters
require ( require (
github.com/pkg/errors v0.9.1 // indirect github.com/nesterow/dal/pkg/filters v0.0.0-00010101000000-000000000000 // indirect
github.com/nesterow/dal/pkg/adapter v0.0.0
github.com/nesterow/dal/pkg/filters v0.0.0 // indirect
github.com/nesterow/dal/pkg/utils v0.0.0 // indirect github.com/nesterow/dal/pkg/utils v0.0.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
) )