This is a simple wechat mall code based on Gin framework development (Golang).
The following is the project directory structure:
| folder | Description |
| ---------- | ----------------- |
| conf | configuration |
| controller | api |
| middleware | jwt··· |
| models | ··· |
| routers | ··· |
| pkg | utils |
| go.mod | package management|
| go.sum | same as above |
| mian.go | entrance |
We can manage projects using Go Mod which is very convenient. You can find out how to implement Gomod. (It is important to understand files go.mod and go.sum.)
Path2Go(basic) Here are some blogs I wrote while learning go. Please inform me to correct the content if there is something wrong. Thanks!
Welcome to star and follow, and you can communicate with me if you also interested in NLP.
Email: haochuzhan@163.com