新手提问,关于gin中函数使用的格式

wangchaoduo · · 1126 次点击
定义方法的一般格式如下: `func (recv receiver_type) methodName(parameter_list) (return_value_list) { ... }`
#3
更多评论
你一定没仔细看书!!
#1
老铁 书上真的有讲,再仔细看看,如:传送门:[the-way-to-go 方法 ](https://github.com/Unknwon/the-way-to-go_ZH_CN/blob/master/eBook/10.6.md) 顺带安利下 [gin实践系列](https://github.com/EDDYCJY/blog#gin%E7%B3%BB%E5%88%97%E7%9B%AE%E5%BD%95),应该对您有所帮助
#2