From 1e5a15c137ba6f01db6eb83918cddd8725360dbe Mon Sep 17 00:00:00 2001 From: absolutelightning Date: Tue, 26 Sep 2023 18:55:28 +0530 Subject: [PATCH] removed is struct method --- consul/helper.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/consul/helper.go b/consul/helper.go index 32628092..3735003b 100644 --- a/consul/helper.go +++ b/consul/helper.go @@ -23,10 +23,6 @@ func isSetSchema(v interface{}) bool { return reflect.TypeOf(v).String() == "*schema.Set" } -func isStruct(v interface{}) bool { - return reflect.TypeOf(v).Kind() == reflect.Struct -} - func formatKey(key string) string { tokens := strings.Split(key, "_") keyToReturn := ""