Files
IPAGo/models/search.go
trojvn d763b0b652 🚀 chore: add initial project setup with docker, go modules, and basic api structure
Add docker configuration for building and running the application, including a dockerfile and docker-compose.yml. Set up go modules with dependencies and create the basic api structure with main.go, models, and wrapper files. Include .dockerignore and .gitignore files to manage ignored files and directories. Add constants for ipatool path and global flags.
2026-03-10 03:41:41 +03:00

16 lines
409 B
Go

package models
import "ipa/IPAGo/wrapper"
type SearchInput struct {
Query string `query:"query" doc:"Поисковый запрос" minLength:"3" example:"TikTok"`
Limit int `query:"limit" doc:"Количество результатов" min:"1" max:"100" example:"10"`
}
type SearchOutput struct {
Body struct {
Success bool `json:"success"`
Apps []wrapper.App `json:"apps"`
}
}