decentral1se
2 years ago
No known key found for this signature in database
GPG Key ID: 3789458B3D0C410
1 changed files with
3 additions and
0 deletions
-
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 { |
|
|