两个不错的在线转换工具

2018-03-18 23:17:08 +08:00
 fhefh

1.curl to Go

https://mholt.github.io/curl-to-go/

2.JSON to Go

https://mholt.github.io/json-to-go/

2493 次点击
所在节点    Go 编程语言
12 条回复
janxin
2018-03-18 23:26:16 +08:00
curl 这个挺有用的,有没有前端版本
fhefh
2018-03-19 00:29:11 +08:00
@janxin 是 html 版本~ js 写的转换
mengzhuo
2018-03-19 09:01:52 +08:00
弱弱地推荐自己的 yaml to go
https://mengzhuo.github.io/yaml-to-go/
moro
2018-03-19 09:38:40 +08:00
@mengzhuo 直接从百度百科里面复制例子贴进去,结果不正常,好像是字体变小就不对了。
moro
2018-03-19 09:41:02 +08:00
@fhefh 好像都有这个问题。
fhefh
2018-03-19 09:43:17 +08:00
@moro 可以在 GitHub 给作者提个 issue
zhengjian
2018-03-19 09:51:39 +08:00
janxin
2018-03-19 10:03:18 +08:00
@moro #4 带 html 就会有问题,必须是纯文本
mengzhuo
2018-03-19 10:04:08 +08:00
@moro #4 我看看
Mitt
2018-03-19 10:10:19 +08:00
建议用 ace editor、CodeMirror 这类代替网页文本框 更有利于在线编辑和复制粘贴
mengzhuo
2018-03-19 10:32:13 +08:00
@Mitt #10 欢迎给上游 json-to-go 提 isssue,我会跟进的
Mitt
2018-03-19 12:56:17 +08:00
@mengzhuo 上游已经一年多没维护了 目测也不接受 PR 了

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/439211

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX