1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-05-01 13:48:56 +08:00
2018-05-10 23:53:25 +02:00

16 lines
214 B
Go

package http
import "github.com/mainflux/mainflux/users"
type apiReq interface {
validate() error
}
type userReq struct {
user users.User
}
func (req userReq) validate() error {
return req.user.Validate()
}