Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a Copyright check in the Makefile #420

Merged
merged 3 commits into from
Jul 9, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .bingo/Variables.mk
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.3.0. DO NOT EDIT.
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.4.0. DO NOT EDIT.
# All tools are designed to be build inside $GOBIN.
BINGO_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
GOPATH ?= $(shell go env GOPATH)
GOBIN ?= $(firstword $(subst :, ,${GOPATH}))/bin
GO ?= $(shell which go)

# Bellow generated variables ensure that every time a tool under each variable is invoked, the correct version
# Below generated variables ensure that every time a tool under each variable is invoked, the correct version
# will be used; reinstalling only if needed.
# For example for bingo variable:
#
Expand All @@ -29,6 +29,12 @@ $(BUF): $(BINGO_DIR)/buf.mod
@echo "(re)installing $(GOBIN)/buf-v0.35.1"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=buf.mod -o=$(GOBIN)/buf-v0.35.1 "github.com/bufbuild/buf/cmd/buf"

COPYRIGHT := $(GOBIN)/copyright-v0.0.0-20210326193628-425a09c04e05
$(COPYRIGHT): $(BINGO_DIR)/copyright.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
@echo "(re)installing $(GOBIN)/copyright-v0.0.0-20210326193628-425a09c04e05"
@cd $(BINGO_DIR) && $(GO) build -mod=mod -modfile=copyright.mod -o=$(GOBIN)/copyright-v0.0.0-20210326193628-425a09c04e05 "github.com/efficientgo/tools/copyright"

FAILLINT := $(GOBIN)/faillint-v1.5.0
$(FAILLINT): $(BINGO_DIR)/faillint.mod
@# Install binary/ries using Go 1.14+ build command. This is using bwplotka/bingo-controlled, separate go module with pinned dependencies.
Expand Down
5 changes: 5 additions & 0 deletions .bingo/copyright.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module _ // Auto generated by https://github.com/bwplotka/bingo. DO NOT EDIT

go 1.16

require github.com/efficientgo/tools/copyright v0.0.0-20210326193628-425a09c04e05
4 changes: 3 additions & 1 deletion .bingo/variables.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.3.0. DO NOT EDIT.
# Auto generated binary variables helper managed by https://github.com/bwplotka/bingo v0.4.0. DO NOT EDIT.
# All tools are designed to be build inside $GOBIN.
# Those variables will work only until 'bingo get' was invoked, or if tools were installed via Makefile's Variables.mk.
GOBIN=${GOBIN:=$(go env GOBIN)}
Expand All @@ -12,6 +12,8 @@ BINGO="${GOBIN}/bingo-v0.3.0"

BUF="${GOBIN}/buf-v0.35.1"

COPYRIGHT="${GOBIN}/copyright-v0.0.0-20210326193628-425a09c04e05"

FAILLINT="${GOBIN}/faillint-v1.5.0"

GOIMPORTS="${GOBIN}/goimports-v0.0.0-20200529172331-a64b76657301"
Expand Down
2 changes: 2 additions & 0 deletions COPYRIGHT
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Copyright (c) The go-grpc-middleware Authors.
Licensed under the Apache License 2.0.
17 changes: 14 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ test:
for dir in $(MODULES) ; do \
$(MAKE) test_module DIR=$${dir} ; \
done
./scripts/test_all.sh
@./scripts/test_all.sh

.PHONY: test_module
test_module:
Expand All @@ -68,14 +68,21 @@ deps:
# --mem-profile-path string Path to memory profile output file
# to debug big allocations during linting.
lint: ## Runs various static analysis tools against our code.
lint: $(BUF) fmt
lint: $(BUF) $(COPYRIGHT) fmt
@echo ">> lint proto files"
@$(BUF) lint

@echo "Running lint for all modules: $(MODULES)"
./scripts/git-tree.sh
@./scripts/git-tree.sh
for dir in $(MODULES) ; do \
$(MAKE) lint_module DIR=$${dir} ; \
done
@$(call require_clean_work_tree,"lint and format files")

@echo ">> ensuring copyright headers"
@$(COPYRIGHT) $(shell go list -f "{{.Dir}}" ./... | xargs -i find "{}" -name "*.go")
@$(call require_clean_work_tree,"set copyright headers")
@echo ">> ensured all .go files have copyright headers"

.PHONY: lint_module
# PROTIP:
Expand All @@ -87,8 +94,10 @@ lint_module: ## Runs various static analysis against our code.
lint_module: $(FAILLINT) $(GOLANGCI_LINT) $(MISSPELL)
@echo ">> verifying modules being imported"
@cd $(DIR) && $(FAILLINT) -paths "errors=github.com/pkg/errors,fmt.{Print,Printf,Println}" ./...

@echo ">> examining all of the Go files"
@cd $(DIR) && go vet -stdmethods=false ./...

@echo ">> linting all of the Go files GOGC=${GOGC}"
@cd $(DIR) && $(GOLANGCI_LINT) run
@./scripts/git-tree.sh
Expand All @@ -111,3 +120,5 @@ proto: $(BUF) $(PROTOC_GEN_GO) $(PROTOC_GEN_GO_GRPC) $(PROTO_TEST_DIR)/test.prot
--go_out=$(PROTO_TEST_DIR)/../ \
--go-grpc_out=$(PROTO_TEST_DIR)/../ \
$(PROTO_TEST_DIR)/*.proto


yashrsharma44 marked this conversation as resolved.
Show resolved Hide resolved
4 changes: 2 additions & 2 deletions chain.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2016 Michal Witkowski. All Rights Reserved.
// See LICENSE for licensing terms.
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

// gRPC Server Interceptor chaining middleware.

Expand Down
4 changes: 2 additions & 2 deletions doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2016 Michal Witkowski. All Rights Reserved.
// See LICENSE for licensing terms.
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

/*
`middleware` is a collection of gRPC middleware packages: interceptors, helpers and tools.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/opentracing/opentracing-go v1.1.0
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.7.0
golang.org/x/net v0.0.0-20190620200207-3b0461eec859
golang.org/x/net v0.0.0-20200822124328-c89045814202
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be
google.golang.org/grpc v1.30.1
google.golang.org/grpc/examples v0.0.0-20200723182653-9106c3fff523
Expand Down
10 changes: 7 additions & 3 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
github.com/stretchr/testify v1.7.0 h1:nwc3DEeHmmLAfoZucVR881uASk0Mfjw8xYJ99tb5CcY=
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
Expand All @@ -49,16 +50,19 @@ golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73r
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859 h1:R/3boaszxrf1GEUWTVDzSKVwLmSJpwZ1yqXm8j0v2QI=
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/net v0.0.0-20200822124328-c89045814202 h1:VvcQYSHwXgi7W+TpUR6A9g6Up98WAHf3f/ulnJ62IyA=
golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod h1:/O7V0waA8r7cgGh81Ro3o1hOxt32SMVPicZroKQ2sZA=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be h1:vEDujvNQGv4jgYKudGeI/+DAX4Jffq6hpD55MmoEvKs=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a h1:1BGLXjeY4akVXGgbC9HugT3Jv3hCI0z56oJR5vAMgBU=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd h1:xhmwyvizuTgC2qz7ZlMluP20uW+C3Rm0FD/WLDX8884=
golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
Expand Down
4 changes: 2 additions & 2 deletions interceptors/auth/auth.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2016 Michal Witkowski. All Rights Reserved.
// See LICENSE for licensing terms.
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package auth

Expand Down
4 changes: 2 additions & 2 deletions interceptors/auth/auth_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2016 Michal Witkowski. All Rights Reserved.
// See LICENSE for licensing terms.
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package auth_test

Expand Down
4 changes: 2 additions & 2 deletions interceptors/auth/doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2016 Michal Witkowski. All Rights Reserved.
// See LICENSE for licensing terms.
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

/*
`auth` a generic server-side auth middleware for gRPC.
Expand Down
3 changes: 3 additions & 0 deletions interceptors/auth/examples_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package auth_test

import (
Expand Down
4 changes: 2 additions & 2 deletions interceptors/auth/metadata.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2016 Michal Witkowski. All Rights Reserved.
// See LICENSE for licensing terms.
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package auth

Expand Down
4 changes: 2 additions & 2 deletions interceptors/auth/metadata_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2016 Michal Witkowski. All Rights Reserved.
// See LICENSE for licensing terms.
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package auth

Expand Down
4 changes: 2 additions & 2 deletions interceptors/client.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2016 Michal Witkowski. All Rights Reserved.
// See LICENSE for licensing terms.
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

// gRPC Prometheus monitoring interceptors for client-side gRPC.

Expand Down
4 changes: 2 additions & 2 deletions interceptors/client_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2016 Michal Witkowski. All Rights Reserved.
// See LICENSE for licensing terms.
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package interceptors

Expand Down
4 changes: 2 additions & 2 deletions interceptors/doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2017 Michal Witkowski. All Rights Reserved.
// See LICENSE for licensing terms.
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

//
/*
Expand Down
5 changes: 2 additions & 3 deletions interceptors/logging/doc.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// Copyright 2017 Michal Witkowski. All Rights Reserved.
// See LICENSE for licensing terms.
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

//
/*
logging is a "parent" package for gRPC logging middlewares.

Expand Down
3 changes: 3 additions & 0 deletions interceptors/logging/interceptors.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package logging

import (
Expand Down
3 changes: 3 additions & 0 deletions interceptors/logging/interceptors_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package logging_test

import (
Expand Down
4 changes: 2 additions & 2 deletions interceptors/logging/logging.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2017 Michal Witkowski. All Rights Reserved.
// See LICENSE for licensing terms.
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package logging

Expand Down
3 changes: 3 additions & 0 deletions interceptors/logging/options.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package logging

import (
Expand Down
3 changes: 3 additions & 0 deletions interceptors/logging/payload.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package logging

import (
Expand Down
3 changes: 3 additions & 0 deletions interceptors/logging/payload_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package logging_test

import (
Expand Down
3 changes: 3 additions & 0 deletions interceptors/ratelimit/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

/*
`ratelimit` a generic server-side ratelimit middleware for gRPC.

Expand Down
3 changes: 3 additions & 0 deletions interceptors/ratelimit/examples_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package ratelimit_test

import (
Expand Down
3 changes: 3 additions & 0 deletions interceptors/ratelimit/ratelimit.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package ratelimit

import (
Expand Down
3 changes: 3 additions & 0 deletions interceptors/ratelimit/ratelimit_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package ratelimit

import (
Expand Down
3 changes: 3 additions & 0 deletions interceptors/recovery/doc.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

// Copyright 2017 David Ackroyd. All Rights Reserved.
// See LICENSE for licensing terms.

Expand Down
3 changes: 3 additions & 0 deletions interceptors/recovery/examples_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

// Copyright 2017 David Ackroyd. All Rights Reserved.
// See LICENSE for licensing terms.

Expand Down
3 changes: 3 additions & 0 deletions interceptors/recovery/interceptors.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

// Copyright 2017 David Ackroyd. All Rights Reserved.
// See LICENSE for licensing terms.

Expand Down
3 changes: 3 additions & 0 deletions interceptors/recovery/interceptors_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

// Copyright 2017 David Ackroyd. All Rights Reserved.
// See LICENSE for licensing terms.

Expand Down
3 changes: 3 additions & 0 deletions interceptors/recovery/options.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

// Copyright 2017 David Ackroyd. All Rights Reserved.
// See LICENSE for licensing terms.

Expand Down
4 changes: 2 additions & 2 deletions interceptors/reporter.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2016 Michal Witkowski. All Rights Reserved.
// See LICENSE for licensing terms.
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package interceptors

Expand Down
4 changes: 2 additions & 2 deletions interceptors/retry/backoff.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2016 Michal Witkowski. All Rights Reserved.
// See LICENSE for licensing terms.
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package retry

Expand Down
4 changes: 2 additions & 2 deletions interceptors/retry/doc.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2016 Michal Witkowski. All Rights Reserved.
// See LICENSE for licensing terms.
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

/*
`retry` provides client-side request retry logic for gRPC.
Expand Down
4 changes: 2 additions & 2 deletions interceptors/retry/examples_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2016 Michal Witkowski. All Rights Reserved.
// See LICENSE for licensing terms.
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package retry_test

Expand Down
4 changes: 2 additions & 2 deletions interceptors/retry/options.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2016 Michal Witkowski. All Rights Reserved.
// See LICENSE for licensing terms.
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package retry

Expand Down
4 changes: 2 additions & 2 deletions interceptors/retry/retry.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2016 Michal Witkowski. All Rights Reserved.
// See LICENSE for licensing terms.
// Copyright (c) The go-grpc-middleware Authors.
// Licensed under the Apache License 2.0.

package retry

Expand Down
Loading