mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-29 14:06:36 +08:00
17 lines
540 B
Go
17 lines
540 B
Go
// Copyright 2026 Arctel.net
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
// Package root registers custom business routes and frontend serving.
|
|
package root
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// RegisterCustomRootRoutes is a scaffold SAMPLE placeholder for root-path routes
|
|
// (webhooks, short links). Prefer semantic paths and/or a dedicated root file;
|
|
// do not treat this as the only place for all product APIs. See skill new-api.
|
|
func RegisterCustomRootRoutes(_ *gin.Engine) {
|
|
// Sample only — add root-path demos here if needed
|
|
}
|