Posted 2020-02-27Updated 2025-10-31 Jaco Liu Goa minute read (About 126 words)Go:null judgenull judgeint空值是0,string空值是””而不是null或者nil(区别Slice空值是长度为0的map空值是nil,error空值是nil,struct空值是一个“所有成员都是空值”的空Struct而不是nil,不能单纯地判断一个struct是不是nil,因为它永远不可能是nil,可以通过返回一个error来判断是否为空,golang标准库里的常见做法:if err != nilGo:null judgehttps://www.wdft.com/31b42193.htmlAuthorJaco LiuPosted on2020-02-27Updated on2025-10-31Licensed under#GoGo null judge
2025-12-03Discussion and analysis of Text2SQL technology, the most difficult pain point in the commercial implementation of agents.(Agent商业落地里最难的痛点Text2SQL技术探讨和解析)AI / Agent / Text2SQL
2025-12-02Ultimate Guide to Quantizing AI Large Language Models: From FP32 to INT4, How to Make Large Models Perform at Full Speed on Consumer Devices?(AI大语言模型量化终极指南:从FP32到INT4,如何让大模型在消费级设备部署应用及选型?)AI / Agent