Skip to content
This repository was archived by the owner on Nov 17, 2021. It is now read-only.

Commit dd08eb5

Browse files
committed
Update router
1 parent 0048b4f commit dd08eb5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gen/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ func main() {
3535
// }
3636
// router.TestHtml(strUrl, paramMap)
3737

38-
router.EgoRouter("/banner/", "banner.html", ego.Map{
38+
router.Ego("/banner/", "banner.html", ego.Map{
3939
"head": "Test to load the HTML template",
4040
})
4141

4242
parArr := [5]int{1, 2, 3, 4, 5}
43-
router.EgoRouter("/head/", "head/head.html", ego.Map{
43+
router.Ego("/head/", "head/head.html", ego.Map{
4444
"head": " Test to load the HTML template",
4545
"parArr": parArr,
4646
})

0 commit comments

Comments
 (0)