Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

第二期打卡 #28

Open
lex1ng opened this issue Jan 9, 2025 · 1 comment
Open

第二期打卡 #28

lex1ng opened this issue Jan 9, 2025 · 1 comment

Comments

@lex1ng
Copy link

lex1ng commented Jan 9, 2025

先占个坑

新手小白勇闯训练营。读取文件和检查链接是否可用 借助了AI。

支持worker数量配置。

01091927 未支持打印进度。 更新中

https://github.com/lex1ng/mygopher/tree/part2

@lex1ng
Copy link
Author

lex1ng commented Jan 12, 2025

0112 更新
感谢回复和建议

纠正了思路,使用通道进行通信,而非用锁,
看了前几期的一个视频,用了 封装的num 来实现进度条打印,但是为了打印进度,先获取全部再逐个遍历有些鸡肋~
https://github.com/lex1ng/mygopher/tree/part2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant