-
-
Save alextanhongpin/236f60df41b128eaaf648a3265e90ec1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This program demonstrates how to concat two arrays in go | |
package main | |
import "log" | |
func main() { | |
a := []string{"a", "b"} | |
b := []string{"1", "2"} | |
log.Println(append(a, b...)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment