摘要:
package main import ( "errors" "fmt" "os" ) // 使用一个结构体管理环形队列 type CircleQueue struct { maxSize int // 4 array [5]int // 数组 head int //指向队列队首 0 tail in 阅读全文
摘要:
##1 goland windows 点击Alt+Shift+Enter var _ someInterface =(*someStruct)(nil) package main type someInterface interface { DoSomething() DoAnotherThing( 阅读全文