mclang / kiho-wt-puncher

Rust CLI app to make Kiho worktime login/logout punches using Kiho API
GNU General Public License v3.0
1 stars 0 forks source link

Make code unit-testable #6

Open mclang opened 2 months ago

mclang commented 2 months ago

Problem

All code is in single src/main.rs file, which:

  1. Gets ugly if the project grows.
  2. Makes code harder to test.

Solution

Maybe directory structure like in amdgpu_top?