You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lib/src/trade_service/constants.go:17: EX_INTERNAL_ERROR redeclared in this bloc k
previous declaration at lib/src/trade_service/broker-consts.go:17
lib/src/trade_service/constants.go:18: EX_PRICE_OUT_OF_SCOPE redeclared in this block
previous declaration at lib/src/trade_service/broker-consts.go:18
lib/src/trade_service/constants.go:19: EX_NO_USABLE_FUND redeclared in this bloc k
previous declaration at lib/src/trade_service/broker-consts.go:19
lib/src/trade_service/constants.go:20: EX_NO_USABLE_DEPTH redeclared in this blo ck
previous declaration at lib/src/trade_service/broker-consts.go:20
lib/src/trade_service/constants.go:21: EX_TRADE_QUEUE_FULL redeclared in this bl ock
previous declaration at lib/src/trade_service/broker-consts.go:21
lib/src/trade_service/constants.go:22: EX_DEPTH_INSUFFICIENT redeclared in this block
previous declaration at lib/src/trade_service/broker-consts.go:22
lib/src/trade_service/constants.go:23: EX_PRICE_NOT_SYNC redeclared in this bloc k
previous declaration at lib/src/trade_service/broker-consts.go:23
lib/src/trade_service/constants.go:24: EX_EXIST_ERROR_ORDERS redeclared in this block
previous declaration at lib/src/trade_service/broker-consts.go:24
lib/src/trade_service/trade_service.go:17: TradeService redeclared in this block
previous declaration at lib/src/trade_service/broker.go:1759
lib/src/trade_service/trade_service.go:41: TradeServiceClient redeclared in this block
previous declaration at lib/src/trade_service/broker.go:1783
lib/src/trade_service/trade_service.go:41: too many errors
The text was updated successfully, but these errors were encountered:
前面的错误解决了,是因为yum安装的go/thrift版本太低。不过还是build错误
src/trade_server/trade_server.go:33: cannot use handler (type *TradeServiceHandler) as type trade_service.TradeService in argument to trade_service.NewTradeServiceProcessor:
*TradeServiceHandler does not implement trade_service.TradeService (wrong type for Buy method)
have Buy(*trade_service.Trade) error
want Buy(context.Context, *trade_service.Trade) error
Any news about issue
lib/src/trade_service/constants.go:17: EX_INTERNAL_ERROR redeclared in this bloc k
previous declaration at lib/src/trade_service/broker-consts.go:17
?
lib/src/trade_service/constants.go:17: EX_INTERNAL_ERROR redeclared in this bloc k
previous declaration at lib/src/trade_service/broker-consts.go:17
lib/src/trade_service/constants.go:18: EX_PRICE_OUT_OF_SCOPE redeclared in this block
previous declaration at lib/src/trade_service/broker-consts.go:18
lib/src/trade_service/constants.go:19: EX_NO_USABLE_FUND redeclared in this bloc k
previous declaration at lib/src/trade_service/broker-consts.go:19
lib/src/trade_service/constants.go:20: EX_NO_USABLE_DEPTH redeclared in this blo ck
previous declaration at lib/src/trade_service/broker-consts.go:20
lib/src/trade_service/constants.go:21: EX_TRADE_QUEUE_FULL redeclared in this bl ock
previous declaration at lib/src/trade_service/broker-consts.go:21
lib/src/trade_service/constants.go:22: EX_DEPTH_INSUFFICIENT redeclared in this block
previous declaration at lib/src/trade_service/broker-consts.go:22
lib/src/trade_service/constants.go:23: EX_PRICE_NOT_SYNC redeclared in this bloc k
previous declaration at lib/src/trade_service/broker-consts.go:23
lib/src/trade_service/constants.go:24: EX_EXIST_ERROR_ORDERS redeclared in this block
previous declaration at lib/src/trade_service/broker-consts.go:24
lib/src/trade_service/trade_service.go:17: TradeService redeclared in this block
previous declaration at lib/src/trade_service/broker.go:1759
lib/src/trade_service/trade_service.go:41: TradeServiceClient redeclared in this block
previous declaration at lib/src/trade_service/broker.go:1783
lib/src/trade_service/trade_service.go:41: too many errors
The text was updated successfully, but these errors were encountered: