kworkflow / patch-hub

patch-hub is a TUI that streamlines the interaction of Linux developers with patches archived on lore.kernel.org
GNU General Public License v2.0
7 stars 6 forks source link

Replace `get_` methods with `derive_getters::Getters` lib #33

Closed lorenzoberts closed 3 weeks ago

lorenzoberts commented 2 months ago

Context:

The rust library derive_getters allows automatic creation of getter methods, by using a #[derive(Getters)] above the target struct.

Proposal: