gopkg icon indicating copy to clipboard operation
gopkg copied to clipboard

example for the go pkg's function

Results 10 gopkg issues
Sort by recently updated
recently updated
newest added

https://github.com/astaxie/gopkg/blob/master/container/heap/Remove.md heap.Remove()返回值有误,代码输出结果注释有误

结构体 A 的两个方法没有导出,`NumMethod()` 方法返回0,示例中执行后就有两个 `true`而没有 `false`, 也就是说第二个循环没有执行。

name string 不是变量默认值,应该是flag名称

现在生成的目录里面的readme.html文件的函数列表不带超级链接,查看起来不是很方便 bytes bytes包实现了用于管理字节切片的函数,类似于strings包。 Constants const MinRead = 512 Variables var ErrTooLarge = errors.New("bytes.Buffer: too large") func Compare(a, b []byte) int func Contains(b, subslice []byte) bool func Count(s, sep []byte) int...

标题是LookupAddr,实例演示的是JoinHostPort

建议增加示例代码的输出结果,这样便于直接看到结果,而不用再自己动手运行一遍。谢谢