How to use beego Annotation Route ask for help to understand

the official website is written but reported incorrectly:

clipboard.png

clipboard.png

clipboard.png

goods
clipboard.png

I wanted to visit
http://127.0.0.1:8080/goods/staticblock/1
does fail all the time
maybe I don"t understand annotated routing

Mar.13,2021

annotated routing refers to the code that automatically generates routes (learn java)
your app runmode can only be generated if dev , you can only generate


I first understand that annotation parsing also starts with java, which has its advantages and disadvantages


you can set it as a child route, or define the route you want to access completely in the note.

Menu