first commit

Co-Authored-By: Codex <noreply@openai.com>
This commit is contained in:
HouYunFei
2026-05-19 07:53:53 +08:00
commit 472bf8b732
133 changed files with 16869 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
package handler
import (
"net/http"
"github.com/basketikun/infinite-canvas/service"
)
func Prompts(w http.ResponseWriter, r *http.Request) {
result, err := service.ListPrompts(parseQuery(r))
if err != nil {
Fail(w, err.Error())
return
}
OK(w, result)
}