Hi guys, I have not found examples so far about this:
is it possible to return an interpolated string with the variables’ actual values?
supposing we have a multiline string like so:
placeHoldersString := `Your name: %s \n
Your city: %s
Your country: %s`
Can I use filledString := fmt.Sprintf(placeHoldersString, name, city, country)
to return
Your name: John Doe
Your city: New Jersey
Your country: USA
Or something similar…, or I should take another approach?