Files
honoka-chan/internal/handler/api/album/album.go
T
YumeMichi c77241a883 Overhaul [1/n]
Signed-off-by: Sean Du <do4suki@gmail.com>
2026-01-29 02:42:28 +08:00

18 lines
289 B
Go

package album
import (
"fmt"
"github.com/gin-gonic/gin"
)
func AlbumApi(ctx *gin.Context, action string) (res any, err error) {
switch action {
case "albumAll":
res, err = albumAll(ctx)
default:
err = fmt.Errorf("unimplemented action: album: %s", action)
}
return res, err
}