kopia lustrzana https://github.com/reiver/greatape
14 wiersze
321 B
Go
14 wiersze
321 B
Go
package dto
|
|
|
|
type FollowerRequest struct {
|
|
Target string `json:"target" validate:"required"`
|
|
Handle string `json:"handle" validate:"required"`
|
|
Accepted bool `json:"accepted"`
|
|
}
|
|
|
|
type FollowerResponse struct {
|
|
Target string `json:"target"`
|
|
Handle string `json:"handle"`
|
|
Accepted bool `json:"accepted"`
|
|
}
|