Rename registry to registrar
This commit is contained in:
2
internal/registrar/doc.go
Normal file
2
internal/registrar/doc.go
Normal file
@@ -0,0 +1,2 @@
|
||||
// Package registrar provides platform-dependent components at compile time.
|
||||
package registrar
|
||||
13
internal/registrar/registrar_unix.go
Normal file
13
internal/registrar/registrar_unix.go
Normal file
@@ -0,0 +1,13 @@
|
||||
//go:build unix && (!darwin)
|
||||
package registrar
|
||||
|
||||
import "git.tebibyte.media/tomo/x"
|
||||
import "git.tebibyte.media/tomo/tomo"
|
||||
import "git.tebibyte.media/tomo/tomo/theme"
|
||||
import "git.tebibyte.media/tomo/nasin/internal/theme/default"
|
||||
|
||||
func Init () error {
|
||||
theme.SetTheme(defaultTheme.Theme())
|
||||
tomo.Register(1, x.NewBackend)
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user