Add vendor test service

This commit is contained in:
Ben Toogood
2020-10-21 09:28:51 +01:00
parent 32bbe90c69
commit 9df0483872
3 changed files with 911 additions and 0 deletions

19
test/vendor/main.go vendored Normal file
View File

@@ -0,0 +1,19 @@
package main
import (
// a relative import outside the go mod
_ "github.com/micro/services/test/routes"
"github.com/micro/micro/v3/service"
"github.com/micro/micro/v3/service/logger"
)
func main() {
srv := service.New(
service.Name("vendor"),
)
if err := srv.Run(); err != nil {
logger.Fatal(err)
}
}