mirror of
				https://github.com/beego/bee.git
				synced 2025-10-31 07:23:22 +00:00 
			
		
		
		
	fix map init
This commit is contained in:
		| @@ -53,7 +53,7 @@ func (a *Annotation) Annotate(comment string) []map[string]interface{} { | |||||||
| 		kvs := strings.Split(line, " ") | 		kvs := strings.Split(line, " ") | ||||||
| 		key := kvs[0] | 		key := kvs[0] | ||||||
| 		values := strings.Split(strings.TrimSpace(line[len(kvs[0]):]), "\n") | 		values := strings.Split(strings.TrimSpace(line[len(kvs[0]):]), "\n") | ||||||
| 		annotation := make(map[string]interface{}, 0) | 		annotation := make(map[string]interface{}) | ||||||
| 		annotation[key] = handleWhitespaceValues(values) | 		annotation[key] = handleWhitespaceValues(values) | ||||||
| 		results = append(results, annotation) | 		results = append(results, annotation) | ||||||
| 	} | 	} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 LinXiaoYi
					LinXiaoYi