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

incorrect HTTP request body with the Golang code generator #364

Closed
LinuxSuRen opened this issue Apr 15, 2024 · 4 comments
Closed

incorrect HTTP request body with the Golang code generator #364

LinuxSuRen opened this issue Apr 15, 2024 · 4 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@LinuxSuRen LinuxSuRen added bug Something isn't working good first issue Good for newcomers labels Apr 15, 2024
@Agility6
Copy link
Contributor

Agility6 commented Apr 19, 2024

我进行了简单的复现
image
导致这个问题应该是因为在golang_generator.go使用了html/template进行解析
image

我的想法是,查看是否有方法在不改变html/template模式下进行特判。

不过我没有理解这句话的含义

missing import "byes"

@LinuxSuRen
Copy link
Owner Author

查看是否有方法在不改变html/template模式下进行特判

是否采用 text/template 也足够呢

missing import "byes"

指的是缺少了对应的包引用,会导致编译失败

@Agility6
Copy link
Contributor

I would like to try!

@LinuxSuRen
Copy link
Owner Author

Close because it is completed.

LinuxSuRen pushed a commit that referenced this issue Jun 17, 2024
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants