搬迁easymap
This commit is contained in:
		
							
								
								
									
										21
									
								
								sync_normal_test.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								sync_normal_test.go
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,21 @@ | ||||
| // Package easymap... | ||||
| // | ||||
| // Description : easymap... | ||||
| // | ||||
| // 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()) | ||||
| } | ||||
		Reference in New Issue
	
	Block a user