Files
OpenFlare/internal/router/root/custom.go
T
2026-07-22 22:31:18 +08:00

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
}