Refactor application structure and initialize core components
I decided to rewrite the program taking into account the experience gained.
This commit is contained in:
12
internal/resources/translation.go
Normal file
12
internal/resources/translation.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package resources
|
||||
|
||||
import (
|
||||
"embed"
|
||||
)
|
||||
|
||||
//go:embed translations
|
||||
var translations embed.FS
|
||||
|
||||
func GetTranslations() embed.FS {
|
||||
return translations
|
||||
}
|
Reference in New Issue
Block a user