I finally am making the transition to CI4. It seems like a pretty big change. Anyway I am trying to load the GC library wth this code:
public function initController(RequestInterface $request, ResponseInterface $response, LoggerInterface $logger)
{
// Do Not Edit This Line
parent::initController($request, $response, $logger);
// Preload any models, libraries, etc, here.
$libraries=[
'grocery_CRUD',
'email',
'image_lib',
'image_CRUD',
'ftp',
'form_validation'
];
Is this the proper way to load the GC library in CI4?