答案解析
package main
import "fmt"
func main() {
s1 := make([]int, 5)
fmt.Printf("The capacity of s1: %d\n", cap(s1))
s2 := make([]int, 5, 8)
fmt.Printf("The capacity of s2: %d\n", cap(s2))
}