@@ -0,0 +1,16 @@
package main
import (
"gin-article/handler"
"github.com/gin-gonic/gin"
)
func Router() *gin.Engine {
r := gin.Default()
r.GET("/", handler.Index)
r.GET("/article/:id", handler.Article)
return r
}
The note is not visible to the blocked user.