astaxie / gopkg Goto Github PK
View Code? Open in Web Editor NEWexample for the go pkg's function
example for the go pkg's function
结构体 A 的两个方法没有导出,NumMethod()
方法返回0,示例中执行后就有两个 true
而没有 false
, 也就是说第二个循环没有执行。
标题是LookupAddr,实例演示的是JoinHostPort
https://github.com/astaxie/gopkg/blob/master/container/heap/Remove.md heap.Remove()返回值有误,代码输出结果注释有误
现在生成的目录里面的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
func Equal(a, b []byte) bool
func EqualFold(s, t []byte) bool
func Fields(s []byte) [][]byte
func FieldsFunc(s []byte, f func(rune) bool) [][]byte
func HasPrefix(s, prefix []byte) bool
func HasSuffix(s, suffix []byte) bool
func Index(s, sep []byte) int
func IndexAny(s []byte, chars string) int
name string 不是变量默认值,应该是flag名称
建议增加示例代码的输出结果,这样便于直接看到结果,而不用再自己动手运行一遍。谢谢
client.md没有 是不是放一个上去
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.