• 2024-12-05 10:46:15 评论了面试题 Go每日一题(30)

    func (stu Student) Speak(think string) (talk string) { if think == "love" { talk = "Y...

  • 2024-09-14 10:56:07 评论了主题 手把手教你用Go语言实现缓存系统

    cleanExpiredItem 里的外层for循环在主线程退出时不会退出,存在泄露问题,需要引入context,处理ctx.Done()来return。