go restful api 脚手架

13 天前
 afxcn

create-go-app

npx

npx create-go-app demo

yarn

yarn create go-app demo

pnpm

pnpm create go-app demo
pnpm dlx create-go-app demo
1949 次点击
所在节点    Go 编程语言
28 条回复
root71370
12 天前
前端大舞台
afxcn
12 天前
@Nitroethane 这样写有什么不好的吗?

我们这样实现的主要目的是不需要任何网络请求,在那些没网的环境下,只需要拷一个 index.js 就能跑了。
fangmuke
12 天前
@afxcn 我电脑没装 node ,内置一个 node 安装包吧
momo2789
12 天前
你浪费了两分钟,快赔钱。
Nitroethane
12 天前
@afxcn #22 我吐槽的是文件内容用 uint8array…… 用字符串存储不好吗
afxcn
12 天前
@Nitroethane #25 原来是这样,谢谢。
afxcn
10 天前
@fangmuke 等有空的时候改成 vscode 的扩展,你不会 vscode 也不用吧。
jetinzhang
7 天前
这样还得有 node 环境,go 不是挺好的,直接二进制丢过去就行

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

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

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

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

© 2021 V2EX