pascal case
This commit is contained in:
2
Makefile
2
Makefile
@ -62,7 +62,7 @@ linux-build: check-env swag # Build a linux version for prod environment. Set e=
|
|||||||
env OUT_PATH=$(DEFAULT_OUT_PATH) GOARCH=amd64 GOOS=linux tools/build.sh $(e)
|
env OUT_PATH=$(DEFAULT_OUT_PATH) GOARCH=amd64 GOOS=linux tools/build.sh $(e)
|
||||||
|
|
||||||
deploy: # Deploy to remote server. Set e=environment: prod, dev, demo, open-demo; s=serverName; i=instance; e.g. make deploy e=dev s=nonprodFix i=dpl
|
deploy: # Deploy to remote server. Set e=environment: prod, dev, demo, open-demo; s=serverName; i=instance; e.g. make deploy e=dev s=nonprodFix i=dpl
|
||||||
make build e=$(e) && qscp build/out/distribution/qfixdpl.gz $(s):/home/quantex/qfixtb/$(i)/
|
make build e=$(e) && qscp build/out/distribution/qfixdpl.gz $(s):/home/quantex/qfixtb/dpl/
|
||||||
|
|
||||||
fmt: download-versions # Apply the Go formatter to the code
|
fmt: download-versions # Apply the Go formatter to the code
|
||||||
cd tools/check; unset GOPATH; GOBIN=$$PWD/../bin go install mvdan.cc/gofumpt@$(call get_version,gofumpt);
|
cd tools/check; unset GOPATH; GOBIN=$$PWD/../bin go install mvdan.cc/gofumpt@$(call get_version,gofumpt);
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
package rest
|
package rest
|
||||||
|
|
||||||
|
|
||||||
type HTTPError struct {
|
type HTTPError struct {
|
||||||
Error string
|
Error string
|
||||||
}
|
}
|
||||||
@ -19,7 +18,6 @@ type Session struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type SendQuoteRequest struct {
|
type SendQuoteRequest struct {
|
||||||
QuoteReqID string `json:"quote_req_id" binding:"required"`
|
QuoteReqID string `json:"QuoteReqID" binding:"required"`
|
||||||
Price string `json:"price" binding:"required" example:"99.6"`
|
Price string `json:"Price" binding:"required" example:"99.6"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -5,16 +5,16 @@ import "time"
|
|||||||
|
|
||||||
// ListTrade es la representacion exportada de un trade de List Trading.
|
// ListTrade es la representacion exportada de un trade de List Trading.
|
||||||
type ListTrade struct {
|
type ListTrade struct {
|
||||||
QuoteReqID string `json:"quote_req_id"`
|
QuoteReqID string
|
||||||
ListID string `json:"list_id"`
|
ListID string
|
||||||
Symbol string `json:"symbol"`
|
Symbol string
|
||||||
SecurityIDSrc string `json:"security_id_src"`
|
SecurityIDSrc string
|
||||||
Currency string `json:"currency"`
|
Currency string
|
||||||
Side string `json:"side"`
|
Side string
|
||||||
OrderQty string `json:"order_qty"`
|
OrderQty string
|
||||||
SettlDate string `json:"settl_date"`
|
SettlDate string
|
||||||
Price string `json:"price"`
|
Price string
|
||||||
OwnerTraderID string `json:"owner_trader_id"`
|
OwnerTraderID string
|
||||||
}
|
}
|
||||||
|
|
||||||
// FixMessageJSON es la representacion estructurada de un mensaje FIX para almacenamiento.
|
// FixMessageJSON es la representacion estructurada de un mensaje FIX para almacenamiento.
|
||||||
|
|||||||
Reference in New Issue
Block a user