You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
182 B
Go
17 lines
182 B
Go
1 year ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/gin-gonic/gin"
|
||
|
router2 "worktest/pkg/router"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
router := gin.Default()
|
||
|
router2.RegisterRoute(router)
|
||
|
|
||
|
|
||
|
router.Run(":8000")
|
||
|
}
|
||
|
|
||
|
|