generated from thinkode/modelRepository
renaming Finders and Peripherals to Providers and Endpoints
This commit is contained in:
8
app.go
8
app.go
@@ -33,7 +33,7 @@ func NewApp() *App {
|
||||
hardwareManager: hardwareManager,
|
||||
projectSave: "",
|
||||
projectInfo: ProjectInfo{
|
||||
PeripheralsInfo: make(map[string]hardware.PeripheralInfo),
|
||||
EndpointsInfo: make(map[string]hardware.EndpointInfo),
|
||||
},
|
||||
}
|
||||
}
|
||||
@@ -56,12 +56,12 @@ func (a *App) onStartup(ctx context.Context) {
|
||||
}
|
||||
|
||||
// onReady is called when the DOM is ready
|
||||
// We get the current peripherals connected
|
||||
// We get the current endpoints connected
|
||||
func (a *App) onReady(ctx context.Context) {
|
||||
// log.Debug().Str("file", "peripherals").Msg("getting peripherals...")
|
||||
// log.Debug().Str("file", "endpoints").Msg("getting endpoints...")
|
||||
// err := a.hardwareManager.Scan()
|
||||
// if err != nil {
|
||||
// log.Err(err).Str("file", "app").Msg("unable to get the peripherals")
|
||||
// log.Err(err).Str("file", "app").Msg("unable to get the endpoints")
|
||||
// }
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user