Preparing report...

Report for github.com/gitbitex/gitbitex-spot

A    Great!    Found 58 issues across 61 files

Tweet

gofmt100%

Gofmt formats Go programs. We run gofmt -s on your code, where -s is for the "simplify" command

No problems detected. Good job!


go_vet100%

go vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.

No problems detected. Good job!


gocyclo91%

Gocyclo calculates cyclomatic complexities of functions in Go source code. The cyclomatic complexity of a function is calculated according to the following rules: 1 is the base complexity of a function +1 for each 'if', 'for', 'case', '&&' or '||' Go Report Card warns on functions with cyclomatic complexity > 15.


golint6%

Golint is a linter for Go source code.

    • gitbitex-spot/matching/kafka_log_store.go
    • Line 28: warning: exported type KafkaLogStore should have comment or be unexported (golint)
    • Line 32: warning: exported function NewKafkaLogStore should have comment or be unexported (golint)
    • Line 44: warning: exported method KafkaLogStore.Store should have comment or be unexported (golint)
    • gitbitex-spot/matching/log.go
    • Line 23: warning: exported type LogType should have comment or be unexported (golint)
    • Line 26: warning: exported const LogTypeMatch should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported type Log should have comment or be unexported (golint)
    • Line 35: warning: exported type Base should have comment or be unexported (golint)
    • Line 42: warning: exported type ReceivedLog should have comment or be unexported (golint)
    • Line 51: warning: exported method ReceivedLog.GetSeq should have comment or be unexported (golint)
    • Line 55: warning: exported type OpenLog should have comment or be unexported (golint)
    • Line 73: warning: exported method OpenLog.GetSeq should have comment or be unexported (golint)
    • Line 77: warning: exported type DoneLog should have comment or be unexported (golint)
    • Line 97: warning: exported method DoneLog.GetSeq should have comment or be unexported (golint)
    • Line 101: warning: exported type MatchLog should have comment or be unexported (golint)
    • Line 123: warning: exported method MatchLog.GetSeq should have comment or be unexported (golint)
    • gitbitex-spot/service/order_service.go
    • Line 22: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 27: warning: exported function PlaceOrder should have comment or be unexported (golint)
    • Line 34: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 107: warning: exported function UpdateOrderStatus should have comment or be unexported (golint)
    • Line 111: warning: exported function ExecuteFill should have comment or be unexported (golint)
    • Line 245: warning: exported function GetOrderById should have comment or be unexported (golint)
    • Line 249: warning: exported function GetOrderByClientOid should have comment or be unexported (golint)
    • Line 253: warning: exported function GetOrdersByUserId should have comment or be unexported (golint)
    • gitbitex-spot/models/mysql/tick_store.go
    • Line 24: warning: exported method Store.GetTicksByProductId should have comment or be unexported (golint)
    • Line 32: warning: exported method Store.GetLastTickByProductId should have comment or be unexported (golint)
    • Line 42: warning: exported method Store.AddTicks should have comment or be unexported (golint)
    • gitbitex-spot/matching/order_book.go
    • Line 71: warning: exported function NewOrderBook should have comment or be unexported (golint)
    • Line 280: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 284: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 296: warning: exported type BookOrder should have comment or be unexported (golint)
    • gitbitex-spot/rest/product_controller.go
    • Line 24: warning: comment on exported function GetProducts should be of the form "GetProducts ..." (golint)
    • Line 40: warning: comment on exported function GetProductOrderBook should be of the form "GetProductOrderBook ..." (golint)
    • Line 45: warning: comment on exported function GetProductTicker should be of the form "GetProductTicker ..." (golint)
    • Line 50: warning: comment on exported function GetProductTrades should be of the form "GetProductTrades ..." (golint)
    • Line 63: warning: comment on exported function GetProductCandles should be of the form "GetProductCandles ..." (golint)
    • gitbitex-spot/pushing/order_book.go
    • Line 45: warning: exported type OrderBookLevel2Snapshot should have comment or be unexported (golint)
    • Line 52: warning: exported type OrderBookFullSnapshot should have comment or be unexported (golint)
    • Line 60: warning: exported type PriceLevel should have comment or be unexported (golint)
    • Line 231: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 254: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • gitbitex-spot/rest/server.go
    • Line 22: warning: exported type HttpServer should have comment or be unexported (golint)
    • Line 26: warning: exported function NewHttpServer should have comment or be unexported (golint)
    • Line 32: warning: exported method HttpServer.Start should have comment or be unexported (golint)
    • gitbitex-spot/service/tick_service.go
    • Line 22: warning: exported function GetLastTickByProductId should have comment or be unexported (golint)
    • Line 26: warning: exported function GetTicksByProductId should have comment or be unexported (golint)
    • Line 30: warning: exported function AddTicks should have comment or be unexported (golint)
    • gitbitex-spot/worker/fill_maker.go
    • Line 26: warning: exported type FillMaker should have comment or be unexported (golint)
    • Line 33: warning: exported function NewFillMaker should have comment or be unexported (golint)
    • Line 52: warning: exported method FillMaker.Start should have comment or be unexported (golint)
    • Line 60: warning: exported method FillMaker.OnMatchLog should have comment or be unexported (golint)
    • Line 87: warning: exported method FillMaker.OnOpenLog should have comment or be unexported (golint)
    • Line 91: warning: exported method FillMaker.OnDoneLog should have comment or be unexported (golint)
    • gitbitex-spot/models/mysql/trade_store.go
    • Line 25: warning: exported method Store.GetLastTradeByProductId should have comment or be unexported (golint)
    • Line 34: warning: exported method Store.GetTradesByProductId should have comment or be unexported (golint)
    • Line 41: warning: exported method Store.AddTrades should have comment or be unexported (golint)
    • gitbitex-spot/pushing/client.go
    • Line 37: warning: comment on exported type Client should be of the form "Client ..." (with optional leading article) (golint)
    • Line 48: warning: exported function NewClient should have comment or be unexported (golint)
    • gitbitex-spot/pushing/message.go
    • Line 19: warning: exported type Level2Type should have comment or be unexported (golint)
    • Line 20: warning: exported type Channel should have comment or be unexported (golint)
    • Line 22: warning: exported method Channel.Format should have comment or be unexported (golint)
    • Line 26: warning: exported method Channel.FormatWithUserId should have comment or be unexported (golint)
    • Line 30: warning: exported method Channel.FormatWithProductId should have comment or be unexported (golint)
    • Line 35: warning: exported const Level2TypeSnapshot should have comment (or a comment on this block) or be unexported (golint)
    • Line 45: warning: exported type Request should have comment or be unexported (golint)
    • Line 53: warning: exported type Response should have comment or be unexported (golint)
    • Line 60: warning: exported type Level2SnapshotMessage should have comment or be unexported (golint)
    • Line 67: warning: exported type Level2UpdateMessage should have comment or be unexported (golint)
    • Line 73: warning: exported type Level2Change should have comment or be unexported (golint)
    • Line 81: warning: exported type MatchMessage should have comment or be unexported (golint)
    • Line 94: warning: exported type TickerMessage should have comment or be unexported (golint)
    • Line 111: warning: exported type FundsMessage should have comment or be unexported (golint)
    • Line 120: warning: exported type OrderMessage should have comment or be unexported (golint)
    • gitbitex-spot/rest/wallet_controller.go
    • Line 8: warning: comment on exported function GetWalletAddress should be of the form "GetWalletAddress ..." (golint)
    • Line 13: warning: comment on exported function GetWalletTransactions should be of the form "GetWalletTransactions ..." (golint)
    • Line 25: warning: comment on exported function Withdrawal should be of the form "Withdrawal ..." (golint)
    • gitbitex-spot/models/binlog_stream.go
    • Line 29: warning: exported type BinLogStream should have comment or be unexported (golint)
    • Line 34: warning: exported function NewBinLogStream should have comment or be unexported (golint)
    • Line 48: warning: exported method BinLogStream.OnRow should have comment or be unexported (golint)
    • Line 160: warning: exported method BinLogStream.Start should have comment or be unexported (golint)
    • gitbitex-spot/conf/gbe_config.go
    • Line 23: warning: exported type GbeConfig should have comment or be unexported (golint)
    • Line 32: warning: exported type DataSourceConfig should have comment or be unexported (golint)
    • Line 41: warning: exported type RedisConfig should have comment or be unexported (golint)
    • Line 46: warning: exported type KafkaConfig should have comment or be unexported (golint)
    • Line 50: warning: exported type PushServerConfig should have comment or be unexported (golint)
    • Line 55: warning: exported type RestServerConfig should have comment or be unexported (golint)
    • Line 62: warning: exported function GetConfig should have comment or be unexported (golint)
    • gitbitex-spot/matching/redis_snapshot_store.go
    • Line 28: warning: exported type RedisSnapshotStore should have comment or be unexported (golint)
    • Line 33: warning: exported function NewRedisSnapshotStore should have comment or be unexported (golint)
    • Line 48: warning: exported method RedisSnapshotStore.Store should have comment or be unexported (golint)
    • Line 57: warning: exported method RedisSnapshotStore.GetLatest should have comment or be unexported (golint)
    • gitbitex-spot/models/mysql/store.go
    • Line 31: warning: exported type Store should have comment or be unexported (golint)
    • Line 35: warning: exported function SharedStore should have comment or be unexported (golint)
    • Line 46: warning: exported function NewStore should have comment or be unexported (golint)
    • Line 94: warning: exported method Store.BeginTx should have comment or be unexported (golint)
    • Line 102: warning: exported method Store.Rollback should have comment or be unexported (golint)
    • Line 106: warning: exported method Store.CommitTx should have comment or be unexported (golint)
    • gitbitex-spot/service/account_service.go
    • Line 25: warning: exported function ExecuteBill should have comment or be unexported (golint)
    • Line 87: warning: exported function HoldBalance should have comment or be unexported (golint)
    • Line 97: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 133: warning: exported function HasEnoughBalance should have comment or be unexported (golint)
    • Line 144: warning: exported function GetAccount should have comment or be unexported (golint)
    • Line 148: warning: exported function GetAccountsByUserId should have comment or be unexported (golint)
    • Line 152: warning: exported function AddDelayBill should have comment or be unexported (golint)
    • Line 166: warning: exported function GetUnsettledBills should have comment or be unexported (golint)
    • gitbitex-spot/models/models.go
    • Line 23: warning: comment on exported type Side should be of the form "Side ..." (with optional leading article) (golint)
    • Line 26: warning: exported function NewSideFromString should have comment or be unexported (golint)
    • Line 37: warning: exported method Side.Opposite should have comment or be unexported (golint)
    • Line 48: warning: comment on exported type OrderType should be of the form "OrderType ..." (with optional leading article) (golint)
    • Line 55: warning: comment on exported type OrderStatus should be of the form "OrderStatus ..." (with optional leading article) (golint)
    • Line 58: warning: exported function NewOrderStatusFromString should have comment or be unexported (golint)
    • Line 76: warning: comment on exported type BillType should be of the form "BillType ..." (with optional leading article) (golint)
    • Line 79: warning: comment on exported type DoneReason should be of the form "DoneReason ..." (with optional leading article) (golint)
    • Line 82: warning: exported type TransactionStatus should have comment or be unexported (golint)
    • Line 85: warning: exported const OrderTypeLimit should have comment (or a comment on this block) or be unexported (golint)
    • Line 91: warning: comment on exported const OrderStatusNew should be of the form "OrderStatusNew ..." (golint)
    • Line 93: warning: comment on exported const OrderStatusOpen should be of the form "OrderStatusOpen ..." (golint)
    • Line 95: warning: comment on exported const OrderStatusCancelling should be of the form "OrderStatusCancelling ..." (golint)
    • Line 97: warning: comment on exported const OrderStatusCancelled should be of the form "OrderStatusCancelled ..." (golint)
    • Line 99: warning: comment on exported const OrderStatusFilled should be of the form "OrderStatusFilled ..." (golint)
    • Line 111: warning: exported type User should have comment or be unexported (golint)
    • Line 120: warning: exported type Account should have comment or be unexported (golint)
    • Line 130: warning: exported type Bill should have comment or be unexported (golint)
    • Line 143: warning: exported type Product should have comment or be unexported (golint)
    • Line 158: warning: exported type Order should have comment or be unexported (golint)
    • Line 178: warning: exported type Fill should have comment or be unexported (golint)
    • Line 199: warning: exported type Trade should have comment or be unexported (golint)
    • Line 214: warning: exported type Tick should have comment or be unexported (golint)
    • Line 230: warning: exported type Config should have comment or be unexported (golint)
    • Line 238: warning: exported type Transaction should have comment or be unexported (golint)
    • gitbitex-spot/pushing/order_book_stream.go
    • Line 25: warning: exported type OrderBookStream should have comment or be unexported (golint)
    • Line 63: warning: exported method OrderBookStream.Start should have comment or be unexported (golint)
    • Line 73: warning: exported method OrderBookStream.OnOpenLog should have comment or be unexported (golint)
    • Line 77: warning: exported method OrderBookStream.OnMatchLog should have comment or be unexported (golint)
    • Line 81: warning: exported method OrderBookStream.OnDoneLog should have comment or be unexported (golint)
    • gitbitex-spot/worker/fill_executor.go
    • Line 30: warning: exported type FillExecutor should have comment or be unexported (golint)
    • Line 35: warning: exported function NewFillExecutor should have comment or be unexported (golint)
    • Line 81: warning: exported method FillExecutor.Start should have comment or be unexported (golint)
    • gitbitex-spot/worker/trade_maker.go
    • Line 26: warning: exported type TradeMaker should have comment or be unexported (golint)
    • Line 33: warning: exported function NewTradeMaker should have comment or be unexported (golint)
    • Line 52: warning: exported method TradeMaker.Start should have comment or be unexported (golint)
    • Line 60: warning: exported method TradeMaker.OnOpenLog should have comment or be unexported (golint)
    • Line 64: warning: exported method TradeMaker.OnDoneLog should have comment or be unexported (golint)
    • Line 68: warning: exported method TradeMaker.OnMatchLog should have comment or be unexported (golint)
    • gitbitex-spot/models/mysql/order_store.go
    • Line 23: warning: exported method Store.GetOrderById should have comment or be unexported (golint)
    • Line 32: warning: exported method Store.GetOrderByClientOid should have comment or be unexported (golint)
    • Line 41: warning: exported method Store.GetOrderByIdForUpdate should have comment or be unexported (golint)
    • Line 50: warning: exported method Store.GetOrdersByUserId should have comment or be unexported (golint)
    • Line 85: warning: exported method Store.AddOrder should have comment or be unexported (golint)
    • Line 90: warning: exported method Store.UpdateOrder should have comment or be unexported (golint)
    • Line 95: warning: exported method Store.UpdateOrderStatus should have comment or be unexported (golint)
    • gitbitex-spot/utils/utils.go
    • Line 23: warning: exported function DecimalAscComparator should have comment or be unexported (golint)
    • Line 29: warning: exported function DecimalDescComparator should have comment or be unexported (golint)
    • Line 35: warning: exported function StartPosOfTime should have comment or be unexported (golint)
    • Line 39: warning: exported function StringToFloat64 should have comment or be unexported (golint)
    • Line 43: warning: exported function AToInt64 should have comment or be unexported (golint)
    • Line 47: warning: exported function F64ToA should have comment or be unexported (golint)
    • Line 51: warning: exported function I64ToA should have comment or be unexported (golint)
    • Line 55: warning: exported function Int32ToString should have comment or be unexported (golint)
    • Line 59: warning: exported function IntToA should have comment or be unexported (golint)
    • Line 63: warning: exported function DToF64 should have comment or be unexported (golint)
    • Line 68: warning: exported function MinInt should have comment or be unexported (golint)
    • Line 75: warning: exported function SnakeCase should have comment or be unexported (golint)
    • gitbitex-spot/pushing/ticker_stream.go
    • Line 29: warning: exported type TickerStream should have comment or be unexported (golint)
    • Line 49: warning: exported method TickerStream.Start should have comment or be unexported (golint)
    • Line 54: warning: exported method TickerStream.OnOpenLog should have comment or be unexported (golint)
    • Line 58: warning: exported method TickerStream.OnDoneLog should have comment or be unexported (golint)
    • Line 62: warning: exported method TickerStream.OnMatchLog should have comment or be unexported (golint)
    • gitbitex-spot/rest/vo.go
    • Line 35: warning: exported type AccountVo should have comment or be unexported (golint)
    • Line 71: warning: exported const Level1 should have comment (or a comment on this block) or be unexported (golint)
    • Line 76: warning: exported type ProductVo should have comment or be unexported (golint)
    • Line 101: warning: exported type SignUpRequest should have comment or be unexported (golint)
    • gitbitex-spot/models/mysql/user_store.go
    • Line 23: warning: exported method Store.GetUserByEmail should have comment or be unexported (golint)
    • Line 32: warning: exported method Store.AddUser should have comment or be unexported (golint)
    • Line 37: warning: exported method Store.UpdateUser should have comment or be unexported (golint)
    • gitbitex-spot/matching/api.go
    • Line 21: warning: comment on exported type OrderReader should be of the form "OrderReader ..." (with optional leading article) (golint)
    • Line 30: warning: comment on exported type LogStore should be of the form "LogStore ..." (with optional leading article) (golint)
    • Line 36: warning: comment on exported type LogReader should be of the form "LogReader ..." (with optional leading article) (golint)
    • Line 48: warning: comment on exported type LogObserver should be of the form "LogObserver ..." (with optional leading article) (golint)
    • Line 60: warning: comment on exported type SnapshotStore should be of the form "SnapshotStore ..." (with optional leading article) (golint)
    • gitbitex-spot/matching/kafka_order_reader.go
    • Line 25: warning: exported const TopicOrderPrefix should have comment (or a comment on this block) or be unexported (golint)
    • Line 28: warning: exported type KafkaOrderReader should have comment or be unexported (golint)
    • Line 32: warning: exported function NewKafkaOrderReader should have comment or be unexported (golint)
    • Line 45: warning: exported method KafkaOrderReader.SetOffset should have comment or be unexported (golint)
    • Line 49: warning: exported method KafkaOrderReader.FetchOrder should have comment or be unexported (golint)
    • gitbitex-spot/service/user_service.go
    • Line 28: warning: exported function CreateUser should have comment or be unexported (golint)
    • Line 47: warning: exported function RefreshAccessToken should have comment or be unexported (golint)
    • Line 69: warning: exported function CheckToken should have comment or be unexported (golint)
    • Line 109: warning: exported function ChangePassword should have comment or be unexported (golint)
    • Line 121: warning: exported function GetUserByEmail should have comment or be unexported (golint)
    • Line 125: warning: exported function GetUserByPassword should have comment or be unexported (golint)
    • gitbitex-spot/models/mysql/fill_store.go
    • Line 24: warning: exported method Store.GetLastFillByProductId should have comment or be unexported (golint)
    • Line 33: warning: exported method Store.GetUnsettledFillsByOrderId should have comment or be unexported (golint)
    • Line 42: warning: exported method Store.GetUnsettledFills should have comment or be unexported (golint)
    • Line 50: warning: exported method Store.UpdateFill should have comment or be unexported (golint)
    • Line 54: warning: exported method Store.AddFills should have comment or be unexported (golint)
    • gitbitex-spot/worker/tick_maker.go
    • Line 28: warning: exported type TickMaker should have comment or be unexported (golint)
    • Line 36: warning: exported function NewTickMaker should have comment or be unexported (golint)
    • Line 61: warning: exported method TickMaker.Start should have comment or be unexported (golint)
    • Line 69: warning: exported method TickMaker.OnOpenLog should have comment or be unexported (golint)
    • Line 73: warning: exported method TickMaker.OnDoneLog should have comment or be unexported (golint)
    • Line 77: warning: exported method TickMaker.OnMatchLog should have comment or be unexported (golint)
    • gitbitex-spot/models/mysql/account_store.go
    • Line 23: warning: exported method Store.GetAccount should have comment or be unexported (golint)
    • Line 33: warning: exported method Store.GetAccountsByUserId should have comment or be unexported (golint)
    • Line 41: warning: exported method Store.GetAccountForUpdate should have comment or be unexported (golint)
    • Line 50: warning: exported method Store.AddAccount should have comment or be unexported (golint)
    • Line 55: warning: exported method Store.UpdateAccount should have comment or be unexported (golint)
    • gitbitex-spot/pushing/match_stream.go
    • Line 25: warning: exported type MatchStream should have comment or be unexported (golint)
    • Line 46: warning: exported method MatchStream.Start should have comment or be unexported (golint)
    • Line 51: warning: exported method MatchStream.OnOpenLog should have comment or be unexported (golint)
    • Line 55: warning: exported method MatchStream.OnDoneLog should have comment or be unexported (golint)
    • Line 59: warning: exported method MatchStream.OnMatchLog should have comment or be unexported (golint)
    • gitbitex-spot/worker/bill_executor.go
    • Line 27: warning: exported type BillExecutor should have comment or be unexported (golint)
    • Line 31: warning: exported function NewBillExecutor should have comment or be unexported (golint)
    • Line 54: warning: exported method BillExecutor.Start should have comment or be unexported (golint)
    • gitbitex-spot/matching/window.go
    • Line 36: warning: exported function NewSlice should have comment or be unexported (golint)
    • Line 44: warning: exported function Get should have comment or be unexported (golint)
    • Line 48: warning: exported function Set should have comment or be unexported (golint)
    • Line 58: warning: exported function GetBit should have comment or be unexported (golint)
    • Line 62: warning: exported function SetBit should have comment or be unexported (golint)
    • Line 69: warning: exported function SetBitRef should have comment or be unexported (golint)
    • Line 77: warning: exported function Len should have comment or be unexported (golint)
    • Line 81: warning: exported type Bitmap should have comment or be unexported (golint)
    • Line 83: warning: exported function New should have comment or be unexported (golint)
    • Line 87: warning: exported method Bitmap.Len should have comment or be unexported (golint)
    • Line 91: warning: exported method Bitmap.Get should have comment or be unexported (golint)
    • Line 95: warning: exported method Bitmap.Set should have comment or be unexported (golint)
    • Line 99: warning: exported method Bitmap.Data should have comment or be unexported (golint)
    • Line 103: warning: exported type Window should have comment or be unexported (golint)
    • Line 121: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • Line 128: warning: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) (golint)
    • gitbitex-spot/pushing/server.go
    • Line 25: warning: exported type Server should have comment or be unexported (golint)
    • Line 31: warning: exported function NewServer should have comment or be unexported (golint)
    • Line 55: warning: exported method Server.Run should have comment or be unexported (golint)
    • gitbitex-spot/models/mysql/bill_store.go
    • Line 24: warning: exported method Store.GetUnsettledBillsByUserId should have comment or be unexported (golint)
    • Line 33: warning: exported method Store.GetUnsettledBills should have comment or be unexported (golint)
    • Line 41: warning: exported method Store.AddBills should have comment or be unexported (golint)
    • Line 55: warning: exported method Store.UpdateBill should have comment or be unexported (golint)
    • gitbitex-spot/matching/engine.go
    • Line 23: warning: exported type Engine should have comment or be unexported (golint)
    • Line 58: warning: comment on exported type Snapshot should be of the form "Snapshot ..." (with optional leading article) (golint)
    • Line 69: warning: exported function NewEngine should have comment or be unexported (golint)
    • Line 94: warning: exported method Engine.Start should have comment or be unexported (golint)
    • gitbitex-spot/matching/kafka_log_reader.go
    • Line 24: warning: exported type KafkaLogReader should have comment or be unexported (golint)
    • Line 31: warning: exported function NewKafkaLogReader should have comment or be unexported (golint)
    • Line 42: warning: exported method KafkaLogReader.GetProductId should have comment or be unexported (golint)
    • Line 46: warning: exported method KafkaLogReader.RegisterObserver should have comment or be unexported (golint)
    • Line 50: warning: exported method KafkaLogReader.Run should have comment or be unexported (golint)
    • gitbitex-spot/rest/order_controller.go
    • Line 72: warning: comment on exported function PlaceOrder should be of the form "PlaceOrder ..." (golint)
    • Line 118: warning: comment on exported function CancelOrder should be of the form "CancelOrder ..." (golint)
    • Line 150: warning: comment on exported function CancelOrders should be of the form "CancelOrders ..." (golint)
    • Line 181: warning: comment on exported function GetOrders should be of the form "GetOrders ..." (golint)
    • gitbitex-spot/rest/user_controller.go
    • Line 24: warning: comment on exported function SignUp should be of the form "SignUp ..." (golint)
    • Line 41: warning: comment on exported function SignIn should be of the form "SignIn ..." (golint)
    • Line 60: warning: comment on exported function GetToken should be of the form "GetToken ..." (golint)
    • Line 77: warning: comment on exported function ChangePassword should be of the form "ChangePassword ..." (golint)
    • Line 103: warning: comment on exported function SignOut should be of the form "SignOut ..." (golint)
    • Line 109: warning: comment on exported function GetUsersSelf should be of the form "GetUsersSelf ..." (golint)

license0%

Checks whether your project has a LICENSE file.


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!