diff options
author | Nick Snyder <nickdsnyder@gmail.com> | 2019-05-03 22:08:26 +0300 |
---|---|---|
committer | Nick Snyder <nickdsnyder@gmail.com> | 2019-05-03 22:08:26 +0300 |
commit | 48788830af56e746921e5f0399c65a736a584dee (patch) | |
tree | 7adc95c17b3a751e3d7af61619d661786ffb8d4b | |
parent | 030e5024e44a1ddc5259354604580c786c41c0fc (diff) |
update readme to reflect changes made in https://github.com/nicksnyder/go-i18n/pull/163
fixes https://github.com/nicksnyder/go-i18n/issues/167
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -26,7 +26,7 @@ import "github.com/nicksnyder/go-i18n/v2/i18n" Create a Bundle to use for the lifetime of your application. ```go -bundle := &i18n.Bundle{DefaultLanguage: language.English} +bundle := i18n.NewBundle(language.English) ``` Load translations into your bundle during initialization. |