rados: naming conventions: fix c_entry, c_namespace
Fix up variable names that don't meet Go standards.
Command: gofmt -w -r "c_entry -> cEntry" rados/object_iter.go
Command: gofmt -w -r "c_namespace -> cNamespace" rados/object_iter.go
@@ -50,14 +50,14 @@ func (iter *Iter) Seek(token IterToken) {
// return iter.Err()
//
func (iter *Iter) Next() bool {
- var c_entry *C.char
- var c_namespace *C.char
- if cerr := C.rados_nobjects_list_next(iter.ctx, &c_entry, nil, &c_namespace); cerr < 0 {
+ var cEntry *C.char
+ var cNamespace *C.char
+ if cerr := C.rados_nobjects_list_next(iter.ctx, &cEntry, nil, &cNamespace); cerr < 0 {
iter.err = getError(cerr)
return false
}
- iter.entry = C.GoString(c_entry)
- iter.namespace = C.GoString(c_namespace)
+ iter.entry = C.GoString(cEntry)
+ iter.namespace = C.GoString(cNamespace)
return true
}
