Posted 2020-02-27Updated 2022-06-08 Jack Liu Go11 minutes read (About 1640 words)Go:interfaceinterface 接口go:interface{}、断言与类型转换Go的接口更大的作用是声明方法集合,而非类型约束。interface{}可用于向函数传递任意类型的变量,但对于函数内部,该变量仍然为interface{}类型(空接口类型),故必须进行类型断言确认类型后检查才能使用(不能直接隐式转换)。接口类型向普通类型的转换称为类型断言(运行期确定)。Read more
2023-08-13AI drawing ControlNet local implementation steps by stable-diffusion-webui(AI绘画ControlNet本地构建实施步骤 by stable-diffusion-webui)AI / painting / Controlnet / Drawing
2023-08-06Tribute to the great legendary philanthropist and programmer Bram Moolenaar, the original author and software maintainer of VIM(致敬伟大传奇的慈善家和程序员Bram Moolenaar,VIM最初作者和软件维护者)history-of-programing / daily