You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
183 B
13 lines
183 B
3 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/gin-gonic/gin"
|
||
|
"zggsong.cn/sandstone/server/routers"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
r := gin.Default()
|
||
|
r = routers.CollectRoute(r)
|
||
|
r.Run("127.0.0.1:8080")
|
||
|
}
|