How to convert a string to an array of strings with one element (i.e. that string) in Go effectively.
For example:
var s string
s = "This is a string"
to
["This is a string"]
Obviously, one way would be to make an array of strings and initialize the first element as that string but I am looking for an effective approach.