From d8aaf588bd19c4faa5ad0b90f3d0bf569151aee2 Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Mon, 13 Sep 2021 00:29:12 +0300 Subject: [PATCH] updates Signed-off-by: Vasiliy Tolstov --- .github/dependabot.yml | 7 +++++++ .github/renovate.json | 20 -------------------- drpc.go | 5 ++--- go.mod | 2 +- 4 files changed, 10 insertions(+), 24 deletions(-) delete mode 100644 .github/renovate.json diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d5f7eae..6df9d3f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,9 +11,16 @@ updates: directory: "/" schedule: interval: "daily" + commit-message: + prefix: "chore" + include: "scope" # Maintain dependencies for Golang - package-ecosystem: "gomod" directory: "/" schedule: interval: "daily" + commit-message: + prefix: "chore" + include: "scope" + diff --git a/.github/renovate.json b/.github/renovate.json deleted file mode 100644 index c597bf3..0000000 --- a/.github/renovate.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "extends": [ - "config:base" - ], - "postUpdateOptions": ["gomodTidy"], - "packageRules": [ - { - "matchUpdateTypes": ["minor", "patch", "pin", "digest"], - "automerge": true - }, - { - "groupName": "all deps", - "separateMajorMinor": true, - "groupSlug": "all", - "packagePatterns": [ - "*" - ] - } - ] -} diff --git a/drpc.go b/drpc.go index d66bedf..2940583 100644 --- a/drpc.go +++ b/drpc.go @@ -13,7 +13,6 @@ import ( "strings" "sync" "time" - // nolint: staticcheck "github.com/unistack-org/micro/v3/broker" @@ -34,7 +33,7 @@ import ( ) const ( - defaultContentType = "application/grpc+proto" + defaultContentType = "application/drpc+proto" ) /* @@ -46,7 +45,7 @@ type grpcServerReflection struct { type grpcServer struct { handlers map[string]server.Handler - srv *grpc.Server +// srv *grpc.Server exit chan chan error wg *sync.WaitGroup rsvc *register.Service diff --git a/go.mod b/go.mod index a3c0826..82f1561 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/unistack-org/micro-server-grpc/v3 +module github.com/unistack-org/micro-server-drpc/v3 go 1.16