mirror of
https://github.com/nitezs/sub2clash.git
synced 2024-12-24 11:44:42 -05:00
10 lines
186 B
Go
10 lines
186 B
Go
|
package validator
|
||
|
|
||
|
type ShortLinkGenValidator struct {
|
||
|
Url string `form:"url" binding:"required"`
|
||
|
}
|
||
|
|
||
|
type ShortLinkGetValidator struct {
|
||
|
Hash string `form:"hash" binding:"required"`
|
||
|
}
|