测试看看
#go ##go ###go ####go ######go
#hi
123
script>
<!-- lang: cpp -->
package main
import (
"fmt"
)
func main() {
//指向切片的指针
a := "中文"
b := 1
str := fmt.Sprint("go to *",a,"* hi", b, "+")
fmt.Println(str)
}
测试看看
#go ##go ###go ####go ######go
#hi
123
script>
<!-- lang: cpp -->
package main
import (
"fmt"
)
func main() {
//指向切片的指针
a := "中文"
b := 1
str := fmt.Sprint("go to *",a,"* hi", b, "+")
fmt.Println(str)
}
转载于:https://my.oschina.net/sqhua/blog/215633