david on Nostr: 刚刚对之前的deno写的测试工具加了几行代码,以外发现deno ...
刚刚对之前的deno写的测试工具加了几行代码,以外发现deno 标准库是参照go的标准库实现的,哈哈,“双厨狂喜”了.
deno_std is a loose port of Go’s standard library. When in doubt, simply port Go’s source code, documentation, and tests. There are many times when the nature of JavaScript, TypeScript, or Deno itself justifies diverging from Go, but if possible we want to leverage the energy that went into building Go. We generally welcome direct ports of Go’s code.
https://deno.land/std@0.204.0
deno_std is a loose port of Go’s standard library. When in doubt, simply port Go’s source code, documentation, and tests. There are many times when the nature of JavaScript, TypeScript, or Deno itself justifies diverging from Go, but if possible we want to leverage the energy that went into building Go. We generally welcome direct ports of Go’s code.
https://deno.land/std@0.204.0