From 86fb608e9b9f44dce39f98fd2ed6a149d57c11fa Mon Sep 17 00:00:00 2001 From: Abel Date: Tue, 20 Feb 2024 17:23:04 +0800 Subject: [PATCH] Update diffs-handler.go --- tools/diffs-handler.go | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/diffs-handler.go b/tools/diffs-handler.go index e76b929..eb0cccc 100644 --- a/tools/diffs-handler.go +++ b/tools/diffs-handler.go @@ -78,7 +78,6 @@ func FormatDiffHumanReadable(differences []DAO.DiffWithName) string { func startsWithMapPattern(input string) (string, string, bool) { // Define the prefix pattern prefix := "map[" - // Check if the input string starts with the prefix if strings.Contains(input, prefix) { // Find the index of the closing bracket "]"