Check out example codes for "concatenate a string in golang". It will help you in understanding the concepts better.

Code Example 1

// Creating and initializing strings 
    // Using shorthand declaration 
    str3 := "Geeks"
    str4 := "Geeks"
  
    // Concatenating strings 
    // Using + operator 
    result := str3 + "for" + str4 
  
    fmt.Println("New string 2: ", result)

Learn ReactJs, React Native from akashmittal.com