In Go, a string is a primitive type, which means it is read-only, and every manipulation of it will creat开发者_高级运维e a new string.
I\'m trying to add my var to this string: var liPad = 20; $(this).css({\'width\' : width , \'height\' : height, \'padding\' : \"\'0开发者_如何学Cpx\' + liPad + \'px\'\"});
If I want to concatenate a string N number of times, which method should i prefer? Take this code as an example: