V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  BeijingBaby  ›  全部回复第 37 页 / 共 50 页
回复总数  982
1 ... 33  34  35  36  37  38  39  40  41  42 ... 50  
既然不是做镜像的,那名字最好不要误导,不要叫「开源镜像站」
2022-06-28 09:00:12 +08:00
回复了 yupozhang 创建的主题 推广 开源项目维权成功案例: spug 开源运维平台成功维权
赔偿多少?
2022-06-27 11:26:43 +08:00
回复了 whyrookie 创建的主题 问与答 客户端拿不到支付订单状态,如何处理这种异常比较合理
轮询查询,只有查询到结果的时候,才出小票。
另外弱网问题要解决下,经常这样可不行。
写一套通用维护 token 的工具 /框架

使用方从这个框架 Get token 。

框架内部维护有效期,有个 goroutine 来将快过期的 token 续期。
2022-06-24 13:47:17 +08:00
回复了 OOKer 创建的主题 分享创造 小湖泊第二波邀请码放送! https://xiaohupo.cn
之前有过类似想法,不过调研了一波国内的平台,均不支持外联或很有限,所以:环境不行,不够开放,做不起来。
2022-06-24 13:44:33 +08:00
回复了 StuPYX 创建的主题 问与答 R5S 与 R4S 哪个更值得买
rs4 瓦罐有很多人喜欢,但是相比来讲 rs5 掀背肯定更香。
不过具体来讲还是看个人喜好了,如果是我,选择 rs5
2022-06-22 20:52:45 +08:00
回复了 ViggoZ 创建的主题 程序员 独立产品灵感周刊 DecoHack #018 - 全球前 10 名最流行的网站变化
太棒!
2022-06-10 09:13:13 +08:00
回复了 TigerJie 创建的主题 分享创造 mastodon - 去中心化社交媒体
为什么注册是个 about ?看起来像钓鱼的
2022-06-10 09:09:59 +08:00
回复了 isno 创建的主题 分享发现 老码农准备考个在职研究生,能指点一下么?
考个?不可以买一个吗?那种野鸡大学
这公司还在呢?
之前和腾讯账号体系合并,就把账号丢了,后来又拆,早就弃用。
2022-05-31 14:31:29 +08:00
回复了 Fenglin0721 创建的主题 程序员 为了你的脊椎,程序员都应该使用双屏
直接代码保持 1024 个字符宽不换行,还不用买显示器。
2022-05-31 08:30:10 +08:00
回复了 KainyGuo 创建的主题 分享创造 有了它,打开健康码只需一个步骤!
直接的健康吗现在没啥用了,都需要场所码,这样的话这个价值为 0
2022-05-09 08:36:47 +08:00
回复了 qwerty01446 创建的主题 汽车 第一辆车的顾虑,希望 v 友给给意见。
不要宝马 M ,你自己试驾一下就知道了,完全无趣,这个价格更不要考虑电动车。
可以看看 Audi RS5
2022-04-07 13:36:44 +08:00
回复了 mythjava 创建的主题 问与答 团队叫我准备一个关于 CSS 的技术分享
这也太浅了?
面向后端技术么?
来自 rsc 的回复。

There are two problems with this GitHub repo:

it claims to host Go standards and does not, in the sense that these are in no way official standards
the project-layout standard it puts forth is far too complex and not a standard
Regarding "why not tell us the standard Go project layout and we'll update the doc?", that only addresses point 2. If there really were standards, they would be in the main Go project doc tree. The standard for project layout would also be a lot shorter. I appreciate your trying to provide a useful resource, but calling it 'golang-standards' is claiming more than it is.

But for the record, the minimal standard layout for an importable Go repo is really:

Put a LICENSE file in your root
Put a go.mod file in your root
Put Go code in your repo, in the root or organized into a directory tree as you see fit
That's it. That's the "standard".

In particular:

It is not required to put commands in cmd/.
It is not required to put packages in pkg/.
It is not required to put web stuff in web/.
It is not required to put APIs in api/.
It is not required to put web stuff in web/.
It is not required to put configurations in configs/.
It is not required to put systemd scripts in init/.
It is not required to put shell scripts in scripts/.
It is not required to put Docker files in build/package/.
It is not required to put CI configs in build/ci/.
It is not required to put deployment configs in deployments/.
It is not required to put test support in test/.
It is not required to put documentation in docs/.
It is not required to put supporting tools in tools/.
It is not required to put examples in examples/.
It is not required to put third_party code in third_party/.
It is not required to put git hooks in githooks/
It is not required to put static assets in assets/.
It is not required to put website data in website/.

The importable golang.org/x repos break every one of these "rules".
适合自己的就是最好的,也许某一种你认为“不好的”,比如关于 /pkg 的争论,当大家都这么做的时候,其实就是一种标准了。
1 ... 33  34  35  36  37  38  39  40  41  42 ... 50  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1481 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 43ms · UTC 17:26 · PVG 01:26 · LAX 09:26 · JFK 12:26
Developed with CodeLauncher
♥ Do have faith in what you're doing.