newsbot-api/internal/domain/requests.go

14 lines
254 B
Go
Raw Normal View History

2024-04-23 22:18:07 -07:00
package domain
type GetSourceBySourceAndNameParamRequest struct {
Name string `query:"name"`
Source string `query:"source"`
}
type NewSourceParamRequest struct {
Name string `query:"name"`
Url string `query:"url"`
Tags string `query:"tags"`
}