Skip to content
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

有一个问题想咨询一下你. #11

Closed
hhniao opened this issue Aug 1, 2018 · 4 comments
Closed

有一个问题想咨询一下你. #11

hhniao opened this issue Aug 1, 2018 · 4 comments

Comments

@hhniao
Copy link

hhniao commented Aug 1, 2018

我最近在学习go
也是使用gin+gorm+adminlte写一个联系项目.
但是在模板这个地方遇到问题了.
我使用了a multitemplate render 这个包.
使用以后, 模板函数, 就不能使用了.
如果不使用这个包, 模板布局有点麻烦.
所以, 我想问一下, 怎么样才能使用这个包, 并且能够解决模板函数的问题?
gin-contrib/multitemplate#2
其他人好像也遇到了这个问题.

@wangsongyan
Copy link
Owner

@hhniao
Copy link
Author

hhniao commented Sep 11, 2018

你这是给我写了一个示例, 让我参考吗?
谢谢.

@wangsongyan
Copy link
Owner

是的

@hhniao
Copy link
Author

hhniao commented Sep 11, 2018

谢谢. 不过我现在已经放弃使用go模板了. 采用go写api接口. vue写模板. 用完全前后端分离方式写了.
这种方式现在比较流行.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants