2021-02-24 18:00:45 +08:00
|
|
|
// Package easymap...
|
|
|
|
//
|
|
|
|
// Description : easymap...
|
|
|
|
//
|
2021-07-25 19:05:59 +08:00
|
|
|
// Author : go_developer@163.com<白茶清欢>
|
2021-02-24 18:00:45 +08:00
|
|
|
//
|
|
|
|
// Date : 2021-02-24 5:57 下午
|
|
|
|
package easymap
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"testing"
|
|
|
|
)
|
|
|
|
|
|
|
|
func TestSyncNormal(t *testing.T) {
|
|
|
|
syncMap := NewSync()
|
|
|
|
syncMap.Set("name", "zhangdeman")
|
|
|
|
syncMap.Set("age", 25)
|
|
|
|
syncMap.Set("height", 180)
|
|
|
|
fmt.Println(syncMap.GetAll())
|
|
|
|
}
|