Example #1
0
func (f Feature) GetLabel() string {
	return C.GoString(C.sensors_get_label(f.chip, f.feature))
}
Example #2
0
func (f Feature) GetLabel() string {
	clabel := C.sensors_get_label(f.chip, f.feature)
	golabel := C.GoString(clabel)
	C.free(unsafe.Pointer(clabel))
	return golabel
}