sql连接
![image.png](https://static.studygolang.com/210123/577013191b838abb8be4db8d3333022e.png)
model
![image.png](https://static.studygolang.com/210123/6cf8b3a5b3ba77d40bb428c247df787c.png)
controller
![image.png](https://static.studygolang.com/210123/77a057eb3ca2042b768e6684553b903c.png)
入口文件
![image.png](https://static.studygolang.com/210123/656a124a6ac9f9988ba25e0310604224.png)
有疑问加站长微信联系(非本文作者)