#Encapsulating a string
2 messages · Page 1 of 1 (latest)
i'm not really following what you mean by "encapsulated" here. could you phrase it differently or provide an example?
2 messages · Page 1 of 1 (latest)
I want this string fmt.Sprintf("controller.nodeSelector.kubernetes\\.io/os=linux") to be encapsulated and for Go to ignore the \\. Would putting it in a Sprintf achieve that, or do I need to put it into another String function?
i'm not really following what you mean by "encapsulated" here. could you phrase it differently or provide an example?