kopia lustrzana https://github.com/cblgh/lieu
				
				
				
			use sprintf not string() for humanizing int
							rodzic
							
								
									fd4e186e5a
								
							
						
					
					
						commit
						34b4978895
					
				|  | @ -50,7 +50,7 @@ func Humanize(n int) string { | |||
| 		return fmt.Sprintf("%dm", n/1000000) | ||||
| 	} | ||||
| 
 | ||||
| 	return string(n) | ||||
| 	return fmt.Sprintf("%d", n) | ||||
| } | ||||
| 
 | ||||
| func Contains(arr []string, query string) bool { | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 cblgh
						cblgh