Two strings can be concatenated together with a plus sign (+).
The following is a complete code example.
package main
import "fmt"
func main() {
fmt.Println("go" + "lang")
}
Below is the program output:
golang
Two strings can be concatenated together with a plus sign (+).
The following is a complete code example.
package main
import "fmt"
func main() {
fmt.Println("go" + "lang")
}
Below is the program output:
golang