Skip to content

Commit 4670975

Browse files
committed
[ga-format-pr] Run ./format_repo.sh to fix formatting
1 parent 5f26811 commit 4670975

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

sql/types/json_value.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -630,8 +630,8 @@ func compareJSONArray(a JsonArray, b interface{}) (int, error) {
630630
func compareJSONObject(a JsonObject, b interface{}) (int, error) {
631631
switch b := b.(type) {
632632
case
633-
bool,
634-
JsonArray:
633+
bool,
634+
JsonArray:
635635
// a is lower precedence
636636
return -1, nil
637637

@@ -662,9 +662,9 @@ func compareJSONObject(a JsonObject, b interface{}) (int, error) {
662662
func compareJSONString(a string, b interface{}) (int, error) {
663663
switch b := b.(type) {
664664
case
665-
bool,
666-
JsonArray,
667-
JsonObject:
665+
bool,
666+
JsonArray,
667+
JsonObject:
668668
// a is lower precedence
669669
return -1, nil
670670

@@ -680,10 +680,10 @@ func compareJSONString(a string, b interface{}) (int, error) {
680680
func compareJSONNumber(a float64, b interface{}) (int, error) {
681681
switch b := b.(type) {
682682
case
683-
bool,
684-
JsonArray,
685-
JsonObject,
686-
string:
683+
bool,
684+
JsonArray,
685+
JsonObject,
686+
string:
687687
// a is lower precedence
688688
return -1, nil
689689
case int:

0 commit comments

Comments
 (0)