This commit is contained in:
parent
0c37f46b53
commit
1bf8a5b124
@ -4,5 +4,5 @@ import (
|
|||||||
"bunker/client/internal/services/core/mainwindow/dto"
|
"bunker/client/internal/services/core/mainwindow/dto"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (m *mainWindow) AddTab(tab *dto.Tab) {
|
func (m *mainWindow) AddTab(_ *dto.Tab) {
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@ func Initialize(app *application.Application) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if err := app.RegisterService(opts); err != nil {
|
if err := app.RegisterService(opts); err != nil {
|
||||||
return fmt.Errorf("%w: %w", &errOptions, err)
|
return fmt.Errorf("%w: %w", errOptions, err)
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
// ServiceNameTranslations is a name for translations service.
|
// ServiceNameTranslations is a name for translations service.
|
||||||
const ServiceNameTranslations = "core/translations"
|
const ServiceNameTranslations = "core/translations"
|
||||||
|
|
||||||
// ErrTranslationsIsInvalid appears when translations service implementation is invalid
|
// ErrTranslationsIsInvalid appears when translations service implementation is invalid.
|
||||||
var ErrTranslationsIsInvalid = errors.New("translations service implementation is invalid")
|
var ErrTranslationsIsInvalid = errors.New("translations service implementation is invalid")
|
||||||
|
|
||||||
// Translations is an interface for translations service.
|
// Translations is an interface for translations service.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user