Skip to content

Commit

Permalink
fix go lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
santhosh-tekuri committed May 4, 2024
1 parent f10de54 commit 0600f4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util.go
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ func isInteger(num any) bool {
}

// quote returns single-quoted string.
// used for embedding quoted strings in json
// used for embedding quoted strings in json.
func quote(s string) string {
s = fmt.Sprintf("%q", s)
s = strings.ReplaceAll(s, `\"`, `"`)
Expand Down

0 comments on commit 0600f4a

Please sign in to comment.