Discover Packages
gopkg.in/goyy/goyy.v0
comm
xtype
package
Version:
v0.0.0-...-82e7740
Opens a new window with list of versions in this module.
Published: Feb 18, 2019
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 10
Opens a new window with list of known importers.
README
README
¶
comm-xtype
type library for Go
Installation
go get gopkg.in/goyy/goyy.v0/comm/xtype
Expand ▾
Collapse ▴
Documentation
¶
type Box struct {
Id string `json:"id"`
Name string `json:"name"`
Active bool `json:"active"`
Time string `json:"time"`
}
Box box.
Boxes returns the []xtype.Box by the http.
type Dict struct {
Mkey string `json:"mkey"`
Mval string `json:"mval"`
Genre string `json:"genre"`
Filters string `json:"filters"`
Descr string `json:"descr"`
Ordinal string `json:"ordinal"`
Created string `json:"created"`
}
Dict dict.
An IntHeap is a min-heap of ints.
func (me *IntHeap ) Pop() interface{}
Pop pop value.
func (me *IntHeap ) Push(x interface{})
Push push value.
type Map struct {
Key string `json:"key"`
Value string `json:"value"`
}
Map map.
Principal the subject's principal
Queue FIFO : First In First Out
Len returns the lenght of Queue.
func (me *Queue ) Pop() interface{}
Pop pop value.
func (me *Queue ) Push(v interface{})
Push push value.
Stack FILO : First In Last Out
Len returns the lenght of Stack.
func (me *Stack ) Pop() interface{}
Pop pop value.
func (me *Stack ) Push(v interface{})
Push push value.
type Tree struct {
Id string `json:"id"`
ParentId string `json:"pId"`
Name string `json:"name"`
Open bool `json:"open"`
IsParent bool `json:"isParent"`
Checked bool `json:"checked"`
}
Tree tree.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.