From c6f6f9050687a60ea85774068cecb2666ab37981 Mon Sep 17 00:00:00 2001 From: Yuri Tseretyan Date: Wed, 15 Mar 2023 15:14:04 -0400 Subject: [PATCH] remove factory.go --- receivers/config_util.go | 2 ++ receivers/factory.go | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 receivers/factory.go diff --git a/receivers/config_util.go b/receivers/config_util.go index 8d17f09d..678192ce 100644 --- a/receivers/config_util.go +++ b/receivers/config_util.go @@ -7,6 +7,8 @@ import ( "gopkg.in/yaml.v3" ) +type DecryptFunc func(key string, fallback string) string + type CommaSeparatedStrings []string func (r *CommaSeparatedStrings) UnmarshalJSON(b []byte) error { diff --git a/receivers/factory.go b/receivers/factory.go deleted file mode 100644 index 667828dd..00000000 --- a/receivers/factory.go +++ /dev/null @@ -1,3 +0,0 @@ -package receivers - -type DecryptFunc func(key string, fallback string) string