sanbo1200 commited on
Commit
3af816f
·
verified ·
1 Parent(s): 3bcabdf

Delete api

Browse files
Files changed (1) hide show
  1. api/router.go +0 -18
api/router.go DELETED
@@ -1,18 +0,0 @@
1
- package api
2
-
3
- import (
4
- "aurora/initialize"
5
- "github.com/gin-gonic/gin"
6
- "net/http"
7
- )
8
-
9
- var router *gin.Engine
10
-
11
- func init() {
12
- // 初始化gin
13
- router = initialize.RegisterRouter()
14
- }
15
-
16
- func Listen(w http.ResponseWriter, r *http.Request) {
17
- router.ServeHTTP(w, r)
18
- }