We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 030e502 commit 4878883Copy full SHA for 4878883
README.md
@@ -26,7 +26,7 @@ import "github.com/nicksnyder/go-i18n/v2/i18n"
26
Create a Bundle to use for the lifetime of your application.
27
28
```go
29
-bundle := &i18n.Bundle{DefaultLanguage: language.English}
+bundle := i18n.NewBundle(language.English)
30
```
31
32
Load translations into your bundle during initialization.
0 commit comments