```
func hello(to string)string{
return `hello ${to}`
}
```
这个代码返回的是hello${to}
![2019-04-21_19-37-03.png](https://static.studygolang.com/190421/10004949db7d7b3b3f352e7825a40929.png)
有疑问加站长微信联系(非本文作者)
![](https://static.golangjob.cn/static/img/footer.png?imageView2/2/w/280)
有疑问加站长微信联系(非本文作者)
入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889
`单行代码`