From f5c1a3db05e7bfd4051047356fbcdf70dfa701c5 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 21 Dec 2023 09:39:33 -0600 Subject: move code into the cloudflare package --- cloudflare/json.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloudflare/json.go') diff --git a/cloudflare/json.go b/cloudflare/json.go index f91b724..b7c71a8 100644 --- a/cloudflare/json.go +++ b/cloudflare/json.go @@ -6,7 +6,7 @@ import ( ) // formatJSON takes an unformatted JSON string and returns a formatted version. -func formatJSON(unformattedJSON string) (string, error) { +func FormatJSON(unformattedJSON string) (string, error) { var jsonData interface{} // Decode the JSON string into an interface -- cgit v1.2.3