yazi's repos on GitHub
Rust · 40770 watchers
yazi
💥 Blazing fast terminal file manager written in Rust, based on async I/O.
HTML · 611 watchers
free-hls
Upload video clips to a free image hosting service
GLSL · 212 watchers
dotfiles
Some of the dotfiles I can't do without.
Go · 48 watchers
go-collection
Useful collection functions for golang, based on generic types.
Go · 18 watchers
bendan
Bendan Bot
TypeScript · 15 watchers
hugo-theme-lavias
A clean and friendly Hugo theme.
JavaScript · 10 watchers
marked-extended-latex
LaTex support to Marked
TypeScript · 8 watchers
vite-plugin-native-sw
A Vite plugin for Service Worker of native support.
JavaScript · 5 watchers
markdown-viewer
Tiny local Markdown viewer written in Golang.
Lua · 4 watchers
rime-config
A Rime config for my own use.
3 watchers
winget-pkgs
The Microsoft community Windows Package Manager manifest repository
2 watchers
blog-pages
BLOG PAGES
Lua · 2 watchers
split-tabs.yazi
Swift · 1 watchers
pixiv
Pixiv tool for macOS
Lua · 1 watchers
relative-motions.yazi
Sass · 0 watchers
markdown-css
A style of markdown in my own uses.
0 watchers
openbilibili
哔哩哔哩后台源码
JavaScript · 0 watchers
vuepress-protection-loader
Protect your articles
C++ · 0 watchers
windows-keymap
yazi

yazi

V2EX member #212385, joined on 2017-01-27 15:53:42 +08:00
Per yazi's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
yazi's recent replies
哈哈地址栏看到熟悉的网址(逃
@fgwmlhdkkkw 不错的文章,谢谢分享
@fgwmlhdkkkw 抱歉刚看到,先前我对这个也有一些疑惑,以下为我的理解(部分转述官方回复):

`[]E` 是非 interface 类型,因此不是一个适当的约束条件(参考 https://github.com/golang/exp/blob/master/constraints/constraints.go ,这里面的约束都是 interface 。在 beta2 时,这些约束被内置在了 Go 里,因此可以直接 `import "constraints"`;在目前 master ,这些约束又被抽离到了 `golang/exp` package )

因此如果想让他成为约束,需要这么写:`[T interface{ []E }, E any]`。但当 `E` 包含 `~` 或 `|` 时,它也被认为是一个 interface 约束。
@qfdk 目前是预览版本,不建议(也不应该)投入生产环境。在 Go 1.18 正式版发布后,该包也会发布正式版本。谢谢支持
Dec 3, 2021
Replied to a topic by oaza 职场话题 公司入职起花名
白猫
Feb 26, 2021
Replied to a topic by psw84 推广 回贴抽奖! 2021 NUC 黑果 下单抽牛年福袋
分母+1
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2726 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms · UTC 15:20 · PVG 23:20 · LAX 08:20 · JFK 11:20
♥ Do have faith in what you're doing.