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

需求:静态文件一起打包到二进制文件,类似gin通过embed打包 #630

Open
lessctz opened this issue Feb 21, 2023 · 9 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@lessctz
Copy link

lessctz commented Feb 21, 2023

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

@li-jin-gou li-jin-gou added enhancement New feature or request help wanted Extra attention is needed labels Feb 21, 2023
@TigerLi2121
Copy link

关注这个功能快半年了,希望快点支持下(^_^)

@li-jin-gou
Copy link
Member

li-jin-gou commented Mar 4, 2023

关注这个功能快半年了,希望快点支持下(^_^)

@TigerLi2121 这在我们计划之中,但是目前优先级不高,你是计划在公司内使用么? 如果有真实的落地需求,我们可以提供优先支持~
企业用户如需申请技术支持可以填一下这个表单: https://wenjuan.feishu.cn/m?t=sH0dv11ZVGDi-5kda

@Skyenought
Copy link
Contributor

Skyenought commented Mar 4, 2023

https://github.com/Skyenought/filesystem 我基于中间件的方式实现了一个文件系统,可以使用 embed

你可以先试用一下 @TigerLi2121

@laixiaohuai
Copy link

关注这个功能快半年了,希望快点支持下(^_^)

@TigerLi2121 这在我们计划之中,但是目前优先级不高,你是计划在公司内使用么? 如果有真实的落地需求,我们可以提供优先支持~ 企业用户如需申请技术支持可以填一下这个表单: https://wenjuan.feishu.cn/m?t=sH0dv11ZVGDi-5kda

还是蛮希望能快点支持,确实很实用

@li-jin-gou
Copy link
Member

关注这个功能快半年了,希望快点支持下(^_^)

@TigerLi2121 这在我们计划之中,但是目前优先级不高,你是计划在公司内使用么? 如果有真实的落地需求,我们可以提供优先支持~ 企业用户如需申请技术支持可以填一下这个表单: https://wenjuan.feishu.cn/m?t=sH0dv11ZVGDi-5kda

还是蛮希望能快点支持,确实很实用

目前在高优处理一些 cloudwego 企业用户真实场景遇到的问题和需求,这个功能的场景也是由于现在绝大多数API都是前后端分离场景所以优先级暂时不高,但是总的来说欢迎 PR,另外社区的同学也通过中间件的方式扩展了一种方案出来可以看看应该也可以满足需求。

@morebuff
Copy link

我也在等这个需求,现在前后端分离,都是把前端构建好的嵌入到golang二进制包中,通过embed打包

@li-jin-gou
Copy link
Member

https://github.com/Skyenought/filesystem 我基于中间件的方式实现了一个文件系统,可以使用 embed

你可以先试用一下 @TigerLi2121

可以先试试这个

@RogueCultivators
Copy link

You can do this

image

@RogueCultivators
Copy link

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Development

No branches or pull requests

7 participants