stringFormatter
stringFormatter copied to clipboard
A set of tools to manipulate text, i.e. making text from templates in C#/Python way is faster than fmt.Sprintf
We should support following arg formatting: * [ ] [Standard number formatting](https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings)
Based on FormatComplex we should use Meta-processor
We shoul have function that could convert code according to style: * kebab * snake * camel (with starting symbol)
In first release we implemented formating using strings.replace, but it is more precise to process string using state machine
We print object in str using fmt, we should do it using own code
`Sf` has function to format map representation, we should also do for `slice` in following variants: * `item1, item2, ...itemN` * `key1=>item1, key2=>item2 ,...` Required this feature in [Ferrum](https://github.com/Wissance/Ferrum)
1. make camelLower-camelUpper-kebab-snake are useful when accessing Json 2. make json conversion between styles
We should add fuzzing tests to check whether lib is stable against bad input
MapToString could be called with big map, therefore we could receive an issue with variable copy, we should use pointers instead