46

Go语言开发(十四)、Go语言常用标准库四-生命不息,奋斗不止

 5 years ago
source link: http://blog.51cto.com/9291927/2343535
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Go语言开发(十四)、Go语言常用标准库四一、heap1、heap简介heap仅仅提供了最小堆的操作,没有提供堆的数据结构,堆的数据结构必须由开发者自己实现。heap提供了一个heap.Interface接口来作为堆的操作和堆的数据结构(开发者自己实现)之间的桥梁,堆的数据结构必须满足此接口:typeInterfaceinterface{sort.InterfacePush(xinterface{

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK