summaryrefslogtreecommitdiff
path: root/cloudflare/json.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-12-21 09:39:33 -0600
committerJeff Carr <[email protected]>2023-12-21 09:39:33 -0600
commitf5c1a3db05e7bfd4051047356fbcdf70dfa701c5 (patch)
treea9de806c2d6de3f1106d7d8f586e70d39a0c6575 /cloudflare/json.go
parent1b32ded4dc53175a975f330cdc11fc5dcb09680a (diff)
move code into the cloudflare package
Diffstat (limited to 'cloudflare/json.go')
-rw-r--r--cloudflare/json.go2
1 files changed, 1 insertions, 1 deletions
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