Documentation ¶
Overview ¶
amap.go
Index ¶
- type AMAP
- func (am *AMAP) AsGob() string
- func (am *AMAP) AsJson() string
- func (am *AMAP) Clear()
- func (am *AMAP) Del(Key string)
- func (am *AMAP) DelIndex(index int)
- func (am *AMAP) DelMulti(Key string)
- func (am *AMAP) DelN(Key string, count int)
- func (am *AMAP) Expand(addvaluescount int)
- func (am *AMAP) FromGob(gs string)
- func (am *AMAP) FromJson(jtext string) string
- func (am *AMAP) Get(Key string) AMAP_val
- func (am *AMAP) GetAsMapSS() map[string]string
- func (am *AMAP) GetCount() (keys int, vals int)
- func (am *AMAP) GetFloat(Key string) float64
- func (am *AMAP) GetInt(Key string) int64
- func (am *AMAP) GetMulti(Key string, val ...interface{})
- func (am *AMAP) GetString(Key string) string
- func (am *AMAP) GetStrings(Key, SepStr string) string
- func (am *AMAP) GetStringsN(Key, SepStr string, count int) string
- func (am *AMAP) Lock()
- func (am *AMAP) New(Key string, Val interface{})
- func (am *AMAP) NewMulti(Key string, val ...interface{})
- func (am *AMAP) Next() bool
- func (am *AMAP) NextKey(skey string, val interface{}) bool
- func (am *AMAP) NextMulti() bool
- func (am *AMAP) NextMultiKey(skey string, val ...interface{}) bool
- func (am *AMAP) OpenJson(fname string) string
- func (am *AMAP) Print()
- func (am *AMAP) ResizeFromEnd(newsize int)
- func (am *AMAP) RunSaver(fname string, sec int)
- func (am *AMAP) SaveAsJson(fname string)
- func (am *AMAP) Set(Key string, Val interface{})
- func (am *AMAP) SetMulti(Key string, val ...interface{})
- func (am *AMAP) SetString(Key, Val string)
- func (am *AMAP) UnLock()
- func (am *AMAP) UpdateMulti(Key string, val ...interface{}) bool
- type AMAP_table
- type AMAP_val
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AMAP ¶
type AMAP struct {
Key, Val []string
//KV [][2]string
CurKey string
CurVal AMAP_val
// contains filtered or unexported fields
}
func (*AMAP) GetAsMapSS ¶
GetAsMapSS get as golang map[string]string
func (*AMAP) GetStringsN ¶
GetStrings
func (*AMAP) NextMultiKey ¶
NextMultiKey
func (*AMAP) ResizeFromEnd ¶
Roll resize amap whith copy data of last 'newsize' elemets to start of amap amap[1:10] -> Roll(5) = amap[6:10] new amap will be aligned by last multielemetn
func (*AMAP) UpdateMulti ¶
type AMAP_table ¶
type AMAP_table struct { }
Click to show internal directories.
Click to hide internal directories.