We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<%==[t] variable %> 目前只有一些值类型的转换,有时前端需要json格式,建议新增一种 interface 转json字符串的语句。
The text was updated successfully, but these errors were encountered:
最好还是让使用者自己实现吧,毕竟 有些json库存在 将空切片转换为 nil 而不是 []stirng 的问题。 并且在json转字符串失败时应该如何处理每个团队的处理方式也都不一样。
自己实现个 helper 传进去 template.Home(jhttp.Helper{}, userInfo, buffer)
template.Home(jhttp.Helper{}, userInfo, buffer)
Sorry, something went wrong.
No branches or pull requests
<%==[t] variable %>
目前只有一些值类型的转换,有时前端需要json格式,建议新增一种 interface 转json字符串的语句。
The text was updated successfully, but these errors were encountered: