1
0
mirror of https://github.com/go-kit/kit.git synced 2025-07-17 01:12:38 +02:00

Merge pull request #1188 from alexander-melentyev/refactor/deadcode

Remove unused code
This commit is contained in:
Márk Sági-Kazár
2021-09-28 14:11:13 +02:00
committed by GitHub
4 changed files with 0 additions and 14 deletions

View File

@ -271,10 +271,6 @@ func sum(a []float64) float64 {
return v
}
func last(a []float64) float64 {
return a[len(a)-1]
}
func min(a, b int) int {
if a < b {
return a

View File

@ -209,10 +209,6 @@ func sum(a []float64) float64 {
return v
}
func last(a []float64) float64 {
return a[len(a)-1]
}
func sampling(r float64) string {
var sv string
if r < 1.0 {

View File

@ -208,10 +208,6 @@ func sum(a []float64) float64 {
return v
}
func last(a []float64) float64 {
return a[len(a)-1]
}
func sampling(r float64) string {
var sv string
if r < 1.0 {

View File

@ -1,7 +1,6 @@
package zk
import (
"context"
"errors"
"fmt"
"io"
@ -17,7 +16,6 @@ import (
var (
path = "/gokit.test/service.name"
e = func(context.Context, interface{}) (interface{}, error) { return struct{}{}, nil }
logger = log.NewNopLogger()
)