mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-29 14:06:36 +08:00
18 lines
424 B
Go
18 lines
424 B
Go
// Copyright 2026 Arctel.net
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
package router
|
|
|
|
import (
|
|
"github.com/Rain-kl/Wavelet/internal/apps/custom"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// registerCustomRoutes registers custom business routes to keep router.go clean and stable.
|
|
func registerCustomRoutes(apiV1Router *gin.RouterGroup) {
|
|
customRouter := apiV1Router.Group("/custom")
|
|
{
|
|
customRouter.GET("/hello", custom.Hello)
|
|
}
|
|
}
|