-
Notifications
You must be signed in to change notification settings - Fork 419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i18n包中的init函数是如何保证顺序的 #40
Comments
init不保证顺序 |
那其中一个默认设为英文的那个init就是多余的,或者说是不对的 |
贴出代码来 |
如果是不对的, 请证明. SetLanguage只有1个地方在调用, 而且有默认值 |
func init() { i18n 模块中的这个init函数,字面意思难道不需要en_us的模块的init函数先行调用么。 |
en_us和i18n在一个模块... |
但是那个模块有3个init函数 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
如题,包中的源文件都包含init函数,但谁先谁后有什么注意的地方?
The text was updated successfully, but these errors were encountered: