Well, Golang is amazing by design & structure.
Since fmt.Sprintf handles both
- DataType based operations
fmt.Sprintf(“String Data : %s , Int Data: %d”, “string”, 100) - Indexed Data Operations.
fmt.Sprintf(“String Data : %[1]s , Int Data: %[2]d”, map)
would’d be nice if Golang has Named data Interpolation for a given string template.some of like this.