Skip to content

Commit

Permalink
lint: use camel case
Browse files Browse the repository at this point in the history
  • Loading branch information
NSEcho committed Jun 9, 2024
1 parent a79f64d commit 08075cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frida/variants_to_go.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ func gVariantToGo(variant *C.GVariant) any {
C.iter_double_array_of_dicts(variant, (*C.char)(unsafe.Pointer(&gm)))
return gm.m
case "ay": // array of bytes
var n_elements C.int
cBytes := C.read_byte_array(variant, &n_elements)
return C.GoBytes(unsafe.Pointer(cBytes), n_elements)
var nElements C.int
cBytes := C.read_byte_array(variant, &nElements)
return C.GoBytes(unsafe.Pointer(cBytes), nElements)
default:
return fmt.Sprintf("type \"%s\" not implemented", variantType)
}
Expand Down

0 comments on commit 08075cd

Please sign in to comment.