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
8 stars 6 forks source link

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

Closed lorenzoberts closed 1 month ago

lorenzoberts commented 3 months ago

Context:

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

Proposal: