chore: another TODO

This commit is contained in:
decentral1se 2023-05-10 19:27:33 +02:00
parent cdfe068cd2
commit 6fd65285ae
No known key found for this signature in database
GPG Key ID: 03789458B3D0C410

View File

@ -143,6 +143,9 @@ func loadDatasheets(m model) loadedDatasheetsMsg {
var datasheets []datasheet
var datasheetNames []string
// TODO: have this gradually update the UI as files are walked/parsed instead
// of blocking until everything is done in one big go. the current loading
// spinner will be there for a while on actually many manuals
// TODO: handle error in interface?
_ = filepath.Walk(".", func(path string, info os.FileInfo, err error) error {
if err != nil {