Skip to content

Commit 4878883

Browse files
committed
update readme to reflect changes made in #163
fixes #167
1 parent 030e502 commit 4878883

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import "github.com/nicksnyder/go-i18n/v2/i18n"
2626
Create a Bundle to use for the lifetime of your application.
2727

2828
```go
29-
bundle := &i18n.Bundle{DefaultLanguage: language.English}
29+
bundle := i18n.NewBundle(language.English)
3030
```
3131

3232
Load translations into your bundle during initialization.

0 commit comments

Comments
 (0)