easymap/sync_normal_test.go

22 lines
366 B
Go
Raw Normal View History

2023-03-07 17:48:41 +08:00
// Package easymap ...
2022-05-14 16:07:21 +08:00
//
2023-03-07 17:48:41 +08:00
// Description : easymap ...
2022-05-14 16:07:21 +08:00
//
// Author : go_developer@163.com<白茶清欢>
//
// 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())
}