mirror of
https://github.com/rjNemo/go-microservices-tuto
synced 2026-06-06 02:16:46 +00:00
rearrange files inside product folder
This commit is contained in:
parent
ba032828ad
commit
a0225fbe24
8 changed files with 2 additions and 7 deletions
|
|
@ -1,13 +1,9 @@
|
||||||
module github.com/rjNemo/go-micro
|
module github.com/rjNemo/go-micro/products
|
||||||
|
|
||||||
go 1.14
|
go 1.14
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/go-openapi/errors v0.19.6
|
|
||||||
github.com/go-openapi/runtime v0.19.19
|
github.com/go-openapi/runtime v0.19.19
|
||||||
github.com/go-openapi/strfmt v0.19.5
|
|
||||||
github.com/go-openapi/swag v0.19.9
|
|
||||||
github.com/go-openapi/validate v0.19.10
|
|
||||||
github.com/go-playground/universal-translator v0.17.0 // indirect
|
github.com/go-playground/universal-translator v0.17.0 // indirect
|
||||||
github.com/go-playground/validator v9.31.0+incompatible
|
github.com/go-playground/validator v9.31.0+incompatible
|
||||||
github.com/gorilla/handlers v1.4.2
|
github.com/gorilla/handlers v1.4.2
|
||||||
|
|
@ -10,7 +10,7 @@ import (
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
|
|
||||||
"github.com/rjNemo/go-micro/products/handlers"
|
"github.com/rjNemo/go-micro/products/handlers"
|
||||||
"github.com/rjNemo/go-micro/server"
|
"github.com/rjNemo/go-micro/products/server"
|
||||||
)
|
)
|
||||||
|
|
||||||
const port = ":5000"
|
const port = ":5000"
|
||||||
|
|
@ -13,6 +13,5 @@ func TestValidation(t *testing.T) {
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Error(err)
|
t.Error(err)
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue