func decodeLoginRequest(_ context.Context, r *http.Request) (interface{}, error) {
	req := dto.LoginRequest{}
	err := json.NewDecoder(r.Body).Decode(&req)
	return req, err
}
// decodeLoginRequest is a transport/http.DecodeRequestFunc that decodes a
// JSON-encoded request from the HTTP request body.
decodeLoginRequest is a transport/http.DecodeRequestFunc that decodes a
JSON-encoded request from the HTTP request body.
// decodeLoginRequest is a transport / http . DecodeRequestFunc that decodes a // JSON - encoded request from the HTTP request body .
func decodeLoginRequest(_ context.Context, r *http.Request) (interface{}, error) {
	req := dto.LoginRequest{}
	err := json.NewDecoder(r.Body).Decode(&req)
	return req, err
}
func decodeLoginRequest ( _ context . Context , r * http . Request ) ( interface { } , error ) { req := dto . LoginRequest { } err := json . NewDecoder ( r . Body ) . Decode ( & req ) return req , err }
decodeLoginRequest is a transport/http.DecodeRequestFunc that decodes a
JSON-encoded request from the HTTP request body.
decodeLoginRequest is a transport / http . DecodeRequestFunc that decodes a JSON - encoded request from the HTTP request body .