forked from varia/go-sh-manymanuals
chore: another TODO
This commit is contained in:
parent
cdfe068cd2
commit
6fd65285ae
3
gshmm.go
3
gshmm.go
@ -143,6 +143,9 @@ func loadDatasheets(m model) loadedDatasheetsMsg {
|
|||||||
var datasheets []datasheet
|
var datasheets []datasheet
|
||||||
var datasheetNames []string
|
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?
|
// TODO: handle error in interface?
|
||||||
_ = filepath.Walk(".", func(path string, info os.FileInfo, err error) error {
|
_ = filepath.Walk(".", func(path string, info os.FileInfo, err error) error {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user