摘要:
作者:大雄good链接:https://www.jianshu.com/p/f2a429aa5963 collections collections为python提供了一些加强版的数据结构,当前有: >>> collections.__all__ ['deque', 'defaultdict', ' 阅读全文
摘要:
Go语言中type的用法: 1.定义结构体类型2.类型别名3.定义接口类型4.定义函数类型 1.定义结构体类型 结构体可用于用户自定义数据类型和进行面向对象编程。 type Person struct { name string age int sex bool } func (p *Person) 阅读全文