Preparing report...

Report for github.com/sonm-io/core

A+    Excellent!    Found 249 issues across 415 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!


gocyclo95%

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.

    • core/insonmnia/dwh/sql.go
    • Line 348: warning: cyclomatic complexity 28 of function (*sqlStorage).GetOrders() is high (> 15) (gocyclo)
    • Line 522: warning: cyclomatic complexity 24 of function (*sqlStorage).GetProfiles() is high (> 15) (gocyclo)
    • Line 167: warning: cyclomatic complexity 22 of function (*sqlStorage).GetDeals() is high (> 15) (gocyclo)
    • Line 1814: warning: cyclomatic complexity 17 of function (*sqlSetupCommands).createIndices() is high (> 15) (gocyclo)
    • core/insonmnia/dwh/processor.go
    • Line 964: warning: cyclomatic complexity 21 of function (*eventsDispatcher).Add() is high (> 15) (gocyclo)
    • Line 243: warning: cyclomatic complexity 19 of function (*L1Processor).processEvent() is high (> 15) (gocyclo)
    • core/cmd/sonmmon/main.go
    • Line 420: warning: cyclomatic complexity 23 of function main() is high (> 15) (gocyclo)
    • Line 141: warning: cyclomatic complexity 19 of function (*WorkerStatus).update() is high (> 15) (gocyclo)
    • core/insonmnia/worker/server.go
    • Line 1136: warning: cyclomatic complexity 28 of function (*Worker).StartTask() is high (> 15) (gocyclo)
    • Line 1783: warning: cyclomatic complexity 20 of function (*Worker).getBenchValue() is high (> 15) (gocyclo)
    • Line 1537: warning: cyclomatic complexity 19 of function (*Worker).setupRunningContainers() is high (> 15) (gocyclo)

golint42%

Golint is a linter for Go source code.

    • core/optimus/predictor.go
    • Line 48: warning: exported type PredictorConfig should have comment or be unexported (golint)
    • Line 55: warning: exported type PredictorService should have comment or be unexported (golint)
    • Line 105: warning: exported method PredictorService.Serve should have comment or be unexported (golint)
    • Line 182: warning: exported method PredictorService.Classification should have comment or be unexported (golint)
    • core/optimus/engine.go
    • Line 146: warning: exported type Blacklist should have comment or be unexported (golint)
    • Line 908: warning: exported type OptimizationMethodFactory should have comment or be unexported (golint)
    • Line 1054: warning: exported type OptimizationMethod should have comment or be unexported (golint)
    • Line 1058: warning: exported type FittingFunc should have comment or be unexported (golint)
    • Line 1062: warning: exported method FittingFunc.Filter should have comment or be unexported (golint)
    • core/insonmnia/worker/storage/common.go
    • Line 7: warning: exported type QuotaDescription should have comment or be unexported (golint)
    • Line 11: warning: exported type Cleanup should have comment or be unexported (golint)
    • Line 15: warning: exported type StorageQuotaTuner should have comment or be unexported (golint)
    • core/insonmnia/npp/listener.go
    • Line 267: warning: exported method Listener.AcceptContext should have comment or be unexported (golint)
    • Line 318: warning: exported method Listener.Close should have comment or be unexported (golint)
    • Line 339: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 344: warning: exported method Listener.Addr should have comment or be unexported (golint)
    • Line 348: warning: exported method Listener.Metrics should have comment or be unexported (golint)
    • core/util/metrics/prometheus.go
    • Line 23: warning: exported type Option should have comment or be unexported (golint)
    • Line 25: warning: exported function WithLogging should have comment or be unexported (golint)
    • Line 31: warning: exported type PrometheusExporter should have comment or be unexported (golint)
    • Line 36: warning: exported function NewPrometheusExporter should have comment or be unexported (golint)
    • core/optimus/engine_multi.go
    • Line 16: warning: exported type BatchModelConfig should have comment or be unexported (golint)
    • Line 21: warning: exported type BatchModelFactory should have comment or be unexported (golint)
    • Line 25: warning: exported method BatchModelFactory.Config should have comment or be unexported (golint)
    • Line 29: warning: exported method BatchModelFactory.Create should have comment or be unexported (golint)
    • Line 45: warning: exported type BatchModel should have comment or be unexported (golint)
    • Line 50: warning: exported method BatchModel.Optimize should have comment or be unexported (golint)
    • core/insonmnia/worker/config.go
    • Line 21: warning: exported type ResourcesConfig should have comment or be unexported (golint)
    • Line 26: warning: exported type WhitelistConfig should have comment or be unexported (golint)
    • Line 35: warning: exported type DevConfig should have comment or be unexported (golint)
    • Line 40: warning: exported type Config should have comment or be unexported (golint)
    • core/insonmnia/worker/overseer.go
    • Line 57: warning: exported method Description.ID should have comment or be unexported (golint)
    • Line 61: warning: exported method Description.Volumes should have comment or be unexported (golint)
    • Line 65: warning: exported method Description.Mounts should have comment or be unexported (golint)
    • Line 69: warning: exported method Description.Network should have comment or be unexported (golint)
    • Line 77: warning: exported method Description.DealID should have comment or be unexported (golint)
    • Line 81: warning: exported method Description.IsGPURequired should have comment or be unexported (golint)
    • Line 85: warning: exported method Description.GpuDeviceIDs should have comment or be unexported (golint)
    • Line 89: warning: exported method Description.Networks should have comment or be unexported (golint)
    • Line 93: warning: exported method Description.QuotaID should have comment or be unexported (golint)
    • Line 97: warning: exported method Description.QuotaInBytes should have comment or be unexported (golint)
    • Line 101: warning: exported method Description.FormatEnv should have comment or be unexported (golint)
    • Line 110: warning: exported method Description.Expose should have comment or be unexported (golint)
    • Line 131: warning: exported method ContainerInfo.IntoProto should have comment or be unexported (golint)
    • Line 166: warning: exported method ContainerMetrics.Marshal should have comment or be unexported (golint)
    • Line 197: warning: exported type ExecConnection should have comment or be unexported (golint)
    • Line 625: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • core/cmd/sonmmon/main.go
    • Line 40: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 46: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 110: warning: exported type WorkerStatus should have comment or be unexported (golint)
    • Line 131: warning: exported function NewWorkerStatus should have comment or be unexported (golint)
    • core/optimus/registry.go
    • Line 38: warning: exported method Registry.NewWorkerManagement should have comment or be unexported (golint)
    • Line 50: warning: exported method Registry.NewDWH should have comment or be unexported (golint)
    • Line 100: warning: exported method Registry.Close should have comment or be unexported (golint)
    • core/optimus/tagging.go
    • Line 9: warning: exported type Tagger should have comment or be unexported (golint)
    • Line 19: warning: exported method Tagger.Tag should have comment or be unexported (golint)
    • core/insonmnia/ssh/crypto.go
    • Line 15: warning: exported type SSHIdentity should have comment or be unexported (golint)
    • Line 24: warning: exported function NewSSHIdentity should have comment or be unexported (golint)
    • Line 35: warning: exported function ParseSSHIdentity should have comment or be unexported (golint)
    • Line 52: warning: exported method SSHIdentity.Verify should have comment or be unexported (golint)
    • core/secsh/server.go
    • Line 48: warning: exported type RemotePTYServer should have comment or be unexported (golint)
    • Line 54: warning: exported function NewRemotePTYServer should have comment or be unexported (golint)
    • Line 69: warning: exported method RemotePTYServer.Run should have comment or be unexported (golint)
    • core/connor/types/types.go
    • Line 7: warning: exported type TaskStatus should have comment or be unexported (golint)
    • Line 12: warning: exported type OrdersSets should have comment or be unexported (golint)
    • Line 18: warning: exported function DivideOrdersSets should have comment or be unexported (golint)
    • core/insonmnia/worker/options.go
    • Line 9: warning: exported type Option should have comment or be unexported (golint)
    • Line 24: warning: exported function WithContext should have comment or be unexported (golint)
    • Line 30: warning: exported function WithVersion should have comment or be unexported (golint)
    • Line 36: warning: exported function WithLogWatcher should have comment or be unexported (golint)
    • core/blockchain/client.go
    • Line 102: warning: exported type CustomClient should have comment or be unexported (golint)
    • Line 107: warning: exported function NewClient should have comment or be unexported (golint)
    • Line 124: warning: exported method CustomClient.GetLastBlock should have comment or be unexported (golint)
    • Line 133: warning: exported method CustomClient.GetTransactionReceipt should have comment or be unexported (golint)
    • Line 146: warning: exported method CustomClient.GetEthereumBalanceAt should have comment or be unexported (golint)
    • core/insonmnia/auth/common.go
    • Line 16: warning: exported var LeakedInsecureKey should have comment or be unexported (golint)
    • Line 31: warning: exported type Peer should have comment or be unexported (golint)
    • Line 36: warning: exported function FromContext should have comment or be unexported (golint)
    • Line 57: warning: exported function ExtractWalletFromContext should have comment or be unexported (golint)
    • Line 71: warning: exported type WalletAuthenticator should have comment or be unexported (golint)
    • Line 76: warning: exported method WalletAuthenticator.ServerHandshake should have comment or be unexported (golint)
    • Line 89: warning: exported method WalletAuthenticator.ClientHandshake should have comment or be unexported (golint)
    • Line 116: warning: exported function NewWalletAuthenticator should have comment or be unexported (golint)
    • core/insonmnia/state/state.go
    • Line 22: warning: exported type Storage should have comment or be unexported (golint)
    • Line 30: warning: exported type KeyedStorage should have comment or be unexported (golint)
    • Line 35: warning: exported type StorageConfig should have comment or be unexported (golint)
    • Line 58: warning: exported function NewState should have comment or be unexported (golint)
    • Line 77: warning: exported function NewKeyedStorage should have comment or be unexported (golint)
    • Line 109: warning: exported method Storage.PassedBenchmarks should have comment or be unexported (golint)
    • Line 116: warning: exported method Storage.SetPassedBenchmarks should have comment or be unexported (golint)
    • Line 124: warning: exported method Storage.HardwareHash should have comment or be unexported (golint)
    • Line 131: warning: exported method Storage.SetHardwareHash should have comment or be unexported (golint)
    • Line 139: warning: exported method Storage.HardwareWithBenchmarks should have comment or be unexported (golint)
    • Line 146: warning: exported method Storage.SetHardwareWithBenchmarks should have comment or be unexported (golint)
    • Line 154: warning: exported method Storage.Save should have comment or be unexported (golint)
    • Line 162: warning: exported method Storage.Load should have comment or be unexported (golint)
    • Line 178: warning: exported method Storage.Remove should have comment or be unexported (golint)
    • Line 189: warning: exported method KeyedStorage.Save should have comment or be unexported (golint)
    • Line 193: warning: exported method KeyedStorage.Load should have comment or be unexported (golint)
    • core/insonmnia/worker/gpu/dri.go
    • Line 26: warning: exported type DRICard should have comment or be unexported (golint)
    • Line 40: warning: exported type DRICardMetrics should have comment or be unexported (golint)
    • Line 46: warning: exported function NewDRICard should have comment or be unexported (golint)
    • Line 240: warning: exported method DRICard.Metrics should have comment or be unexported (golint)
    • core/util/xcode/cmd.go
    • Line 52: warning: exported function Execute should have comment or be unexported (golint)
    • Line 54: warning: exported function RegisterServiceCmd should have comment or be unexported (golint)
    • Line 58: warning: exported function RunE should have comment or be unexported (golint)
    • core/util/util.go
    • Line 17: warning: exported const FormattedBigIntLength should have comment (or a comment on this block) or be unexported (golint)
    • Line 56: warning: exported function GetPlatformName should have comment or be unexported (golint)
    • Line 60: warning: exported function FileExists should have comment or be unexported (golint)
    • Line 122: warning: exported function BigIntToPaddedString should have comment or be unexported (golint)
    • Line 133: warning: exported function HexToAddress should have comment or be unexported (golint)
    • core/proto/marketplace.go
    • Line 15: warning: exported const MinNumBenchmarks should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported method IdentityLevel.UnmarshalYAML should have comment or be unexported (golint)
    • Line 35: warning: exported method BidOrder.Validate should have comment or be unexported (golint)
    • Line 43: warning: exported method Benchmarks.GetNValues should have comment or be unexported (golint)
    • Line 52: warning: exported method Benchmarks.Validate should have comment or be unexported (golint)
    • Line 59: warning: exported method Benchmarks.Get should have comment or be unexported (golint)
    • Line 69: warning: exported method Benchmarks.CPUSysbenchMulti should have comment or be unexported (golint)
    • Line 73: warning: exported method Benchmarks.CPUSysbenchOne should have comment or be unexported (golint)
    • Line 77: warning: exported method Benchmarks.CPUCores should have comment or be unexported (golint)
    • Line 81: warning: exported method Benchmarks.SetCPUCores should have comment or be unexported (golint)
    • Line 85: warning: exported method Benchmarks.RAMSize should have comment or be unexported (golint)
    • Line 89: warning: exported method Benchmarks.StorageSize should have comment or be unexported (golint)
    • Line 93: warning: exported method Benchmarks.NetTrafficIn should have comment or be unexported (golint)
    • Line 97: warning: exported method Benchmarks.NetTrafficOut should have comment or be unexported (golint)
    • Line 101: warning: exported method Benchmarks.GPUCount should have comment or be unexported (golint)
    • Line 105: warning: exported method Benchmarks.SetGPUCount should have comment or be unexported (golint)
    • Line 109: warning: exported method Benchmarks.GPUMem should have comment or be unexported (golint)
    • Line 113: warning: exported method Benchmarks.GPUEthHashrate should have comment or be unexported (golint)
    • Line 117: warning: exported method Benchmarks.GPUCashHashrate should have comment or be unexported (golint)
    • Line 121: warning: exported method Benchmarks.GPURedshift should have comment or be unexported (golint)
    • Line 125: warning: exported method Benchmarks.CPUCryptonight should have comment or be unexported (golint)
    • Line 129: warning: exported method Benchmarks.GPUNVidiaOnly should have comment or be unexported (golint)
    • Line 133: warning: exported method Benchmarks.GPURadeonOnly should have comment or be unexported (golint)
    • Line 137: warning: exported method Benchmarks.GPUCuckaroo29 should have comment or be unexported (golint)
    • Line 141: warning: exported method Deal.GetTypeName should have comment or be unexported (golint)
    • Line 144: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 149: warning: exported method Deal.IsSpot should have comment or be unexported (golint)
    • Line 153: warning: exported method Order.TotalPrice should have comment or be unexported (golint)
    • Line 157: warning: exported method Order.PricePerHour should have comment or be unexported (golint)
    • Line 162: warning: exported method Deal.TotalPrice should have comment or be unexported (golint)
    • Line 166: warning: exported method Deal.PricePerHour should have comment or be unexported (golint)
    • Line 177: warning: exported function CombinedError should have comment or be unexported (golint)
    • Line 187: warning: exported function NewTSErrorByID should have comment or be unexported (golint)
    • Line 195: warning: exported type TSErrorByID should have comment or be unexported (golint)
    • Line 200: warning: exported method TSErrorByID.Append should have comment or be unexported (golint)
    • Line 217: warning: exported function NewTSErrorByStringID should have comment or be unexported (golint)
    • Line 225: warning: exported type TSErrorByStringID should have comment or be unexported (golint)
    • Line 230: warning: exported method TSErrorByStringID.Append should have comment or be unexported (golint)
    • core/connor/antifraud/processor.go
    • Line 12: warning: exported const LogFormatCommon should have comment (or a comment on this block) or be unexported (golint)
    • Line 44: warning: exported function NewProcessorFactory should have comment or be unexported (golint)
    • Line 95: warning: exported type Option should have comment or be unexported (golint)
    • Line 97: warning: exported function WithLogger should have comment or be unexported (golint)
    • Line 103: warning: exported function WithClientConn should have comment or be unexported (golint)
    • core/insonmnia/worker/network/l2tp_tuner.go
    • Line 23: warning: exported type L2TPTuner should have comment or be unexported (golint)
    • Line 30: warning: exported function NewL2TPTuner should have comment or be unexported (golint)
    • Line 59: warning: exported method L2TPTuner.GenerateInvitation should have comment or be unexported (golint)
    • Line 63: warning: exported method L2TPTuner.Tuned should have comment or be unexported (golint)
    • Line 67: warning: exported method L2TPTuner.Run should have comment or be unexported (golint)
    • Line 110: warning: exported method L2TPTuner.Tune should have comment or be unexported (golint)
    • Line 146: warning: exported method L2TPTuner.GetCleaner should have comment or be unexported (golint)
    • Line 170: warning: exported type L2TPCleaner should have comment or be unexported (golint)
    • Line 177: warning: exported method L2TPCleaner.Close should have comment or be unexported (golint)
    • core/proto/bigint.go
    • Line 23: warning: exported function NewBigIntFromInt should have comment or be unexported (golint)
    • Line 58: warning: exported method BigInt.MarshalText should have comment or be unexported (golint)
    • Line 62: warning: exported method BigInt.UnmarshalText should have comment or be unexported (golint)
    • Line 72: warning: exported method BigInt.ToPriceString should have comment or be unexported (golint)
    • Line 80: warning: exported method BigInt.PricePerHour should have comment or be unexported (golint)
    • Line 85: warning: exported method BigInt.PaddedString should have comment or be unexported (golint)
    • Line 89: warning: exported method BigInt.IsZero should have comment or be unexported (golint)
    • core/insonmnia/worker/geoip.go
    • Line 19: warning: exported const DefaultDatabasePath should have comment (or a comment on this block) or be unexported (golint)
    • Line 24: warning: exported type GeoIPServiceConfig should have comment or be unexported (golint)
    • Line 30: warning: exported method GeoIPServiceConfig.Normalize should have comment or be unexported (golint)
    • Line 50: warning: exported type GeoIPServiceUpdater should have comment or be unexported (golint)
    • Line 54: warning: exported method GeoIPServiceUpdater.UpdateIfRequired should have comment or be unexported (golint)
    • Line 78: warning: exported method GeoIPServiceUpdater.Update should have comment or be unexported (golint)
    • Line 141: warning: exported type GeoIPService should have comment or be unexported (golint)
    • Line 170: warning: exported method GeoIPService.Country should have comment or be unexported (golint)
    • Line 174: warning: exported method GeoIPService.Close should have comment or be unexported (golint)
    • core/cmd/pandora/common.go
    • Line 23: warning: exported function PrivateKey should have comment or be unexported (golint)
    • Line 49: warning: exported function TransportCredentials should have comment or be unexported (golint)
    • Line 62: warning: exported function NewLogger should have comment or be unexported (golint)
    • core/insonmnia/dwh/sql.go
    • Line 14: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 23: warning: exported const MaxLimit should have comment (or a comment on this block) or be unexported (golint)
    • Line 572: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 958: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 983: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 1626: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • core/insonmnia/oracle/watcher.go
    • Line 29: warning: exported type PriceData should have comment or be unexported (golint)
    • Line 34: warning: exported type PriceWatcher should have comment or be unexported (golint)
    • Line 39: warning: exported function NewPriceWatcher should have comment or be unexported (golint)
    • Line 46: warning: exported method PriceWatcher.Start should have comment or be unexported (golint)
    • core/insonmnia/worker/gpu/interface.go
    • Line 12: warning: exported type GPUID should have comment or be unexported (golint)
    • Line 43: warning: comment on exported type MetricsHandler should be of the form "MetricsHandler ..." (with optional leading article) (golint)
    • Line 50: warning: exported function NewMetricsHandler should have comment or be unexported (golint)
    • Line 69: warning: exported method NilTuner.Tune should have comment or be unexported (golint)
    • Line 71: warning: exported method NilTuner.Devices should have comment or be unexported (golint)
    • Line 73: warning: exported method NilTuner.Close should have comment or be unexported (golint)
    • core/insonmnia/worker/ssh.go
    • Line 37: warning: exported type SSHConfig should have comment or be unexported (golint)
    • Line 44: warning: exported type PublicKey should have comment or be unexported (golint)
    • Line 48: warning: exported method PublicKey.UnmarshalText should have comment or be unexported (golint)
    • Line 60: warning: exported method PublicKey.MarshalText should have comment or be unexported (golint)
    • Line 68: warning: exported type SSH should have comment or be unexported (golint)
    • Line 93: warning: exported function IsWorkerSSHIdentity should have comment or be unexported (golint)
    • Line 115: warning: exported type SSHAuthorizationOption should have comment or be unexported (golint)
    • Line 117: warning: exported function WithExpiration should have comment or be unexported (golint)
    • Line 123: warning: exported type SSHAuthorization should have comment or be unexported (golint)
    • Line 135: warning: exported function NewSSHAuthorization should have comment or be unexported (golint)
    • Line 373: warning: exported function NewSSHServer should have comment or be unexported (golint)
    • core/cmd/pandora/ammo_marketplace.go
    • Line 15: warning: exported const MarketplaceOrderInfo should have comment (or a comment on this block) or be unexported (golint)
    • Line 20: warning: exported type OrderInfoAmmo should have comment or be unexported (golint)
    • Line 24: warning: exported method OrderInfoAmmo.Type should have comment or be unexported (golint)
    • Line 28: warning: exported method OrderInfoAmmo.Execute should have comment or be unexported (golint)
    • Line 75: warning: exported type OrderPlaceAmmo should have comment or be unexported (golint)
    • Line 77: warning: exported method OrderPlaceAmmo.Type should have comment or be unexported (golint)
    • Line 81: warning: exported method OrderPlaceAmmo.Execute should have comment or be unexported (golint)
    • core/insonmnia/worker/salesman/options.go
    • Line 20: warning: exported type DealDestroyer should have comment or be unexported (golint)
    • Line 38: warning: exported function WithLogger should have comment or be unexported (golint)
    • Line 44: warning: exported function WithStorage should have comment or be unexported (golint)
    • Line 49: warning: exported function WithResources should have comment or be unexported (golint)
    • Line 54: warning: exported function WithHardware should have comment or be unexported (golint)
    • Line 59: warning: exported function WithEth should have comment or be unexported (golint)
    • Line 64: warning: exported function WithCGroupManager should have comment or be unexported (golint)
    • Line 69: warning: exported function WithMatcher should have comment or be unexported (golint)
    • Line 74: warning: exported function WithEthkey should have comment or be unexported (golint)
    • Line 79: warning: exported function WithConfig should have comment or be unexported (golint)
    • Line 85: warning: exported function WithNetworkConfig should have comment or be unexported (golint)
    • Line 91: warning: exported function WithDealDestroyer should have comment or be unexported (golint)
    • Line 138: warning: exported type Option should have comment or be unexported (golint)
    • core/insonmnia/inspect/service.go
    • Line 23: warning: exported type ConfigProvider should have comment or be unexported (golint)
    • Line 28: warning: exported type AuthSubscriber should have comment or be unexported (golint)
    • Line 32: warning: exported type InspectService should have comment or be unexported (golint)
    • Line 40: warning: exported function NewInspectService should have comment or be unexported (golint)
    • Line 62: warning: exported method InspectService.Config should have comment or be unexported (golint)
    • Line 73: warning: exported method InspectService.OpenFiles should have comment or be unexported (golint)
    • Line 93: warning: exported method InspectService.Network should have comment or be unexported (golint)
    • Line 145: warning: exported method InspectService.HostInfo should have comment or be unexported (golint)
    • Line 167: warning: exported method InspectService.DockerInfo should have comment or be unexported (golint)
    • Line 184: warning: exported method InspectService.DockerNetwork should have comment or be unexported (golint)
    • Line 200: warning: exported method InspectService.DockerVolumes should have comment or be unexported (golint)
    • Line 216: warning: exported method InspectService.WatchLogs should have comment or be unexported (golint)
    • Line 244: warning: exported method InspectService.Close should have comment or be unexported (golint)
    • core/insonmnia/worker/gpu/options.go
    • Line 30: warning: exported type Option should have comment or be unexported (golint)
    • Line 32: warning: exported function WithSocketDir should have comment or be unexported (golint)
    • Line 39: warning: exported function WithOptions should have comment or be unexported (golint)
    • core/insonmnia/benchmarks/mapping.go
    • Line 13: warning: exported type Loader should have comment or be unexported (golint)
    • Line 21: warning: exported function NewLoader should have comment or be unexported (golint)
    • Line 41: warning: exported function NewArrayMapping should have comment or be unexported (golint)
    • Line 55: warning: exported function NewMapMapping should have comment or be unexported (golint)
    • Line 71: warning: exported type Mapping should have comment or be unexported (golint)
    • core/cmd/pandora/gun_dwh.go
    • Line 12: warning: exported type DWHExtConfig should have comment or be unexported (golint)
    • Line 24: warning: exported function NewDWHGun should have comment or be unexported (golint)
    • core/insonmnia/structs/network_spec.go
    • Line 11: warning: exported type NetworkSpec should have comment or be unexported (golint)
    • Line 23: warning: exported function NewNetworkSpec should have comment or be unexported (golint)
    • Line 32: warning: exported function NewNetworkSpecs should have comment or be unexported (golint)
    • core/insonmnia/worker/network/manager_linux.go
    • Line 24: warning: exported method NetworkAliasAction.Execute should have comment or be unexported (golint)
    • Line 33: warning: exported method NetworkAliasAction.Rollback should have comment or be unexported (golint)
    • Line 39: warning: exported type TBFShapingAction should have comment or be unexported (golint)
    • Line 45: warning: exported method TBFShapingAction.Execute should have comment or be unexported (golint)
    • Line 101: warning: exported method TBFShapingAction.Rollback should have comment or be unexported (golint)
    • Line 109: warning: exported type HTBShapingAction should have comment or be unexported (golint)
    • Line 116: warning: exported method HTBShapingAction.Execute should have comment or be unexported (golint)
    • Line 278: warning: exported method HTBShapingAction.Rollback should have comment or be unexported (golint)
    • Line 301: warning: exported function NewIFBLink should have comment or be unexported (golint)
    • Line 341: warning: exported type RemoteQOS should have comment or be unexported (golint)
    • Line 345: warning: exported function NewRemoteQOS should have comment or be unexported (golint)
    • Line 356: warning: exported method RemoteQOS.SetAlias should have comment or be unexported (golint)
    • Line 371: warning: exported method RemoteQOS.AddHTBShaping should have comment or be unexported (golint)
    • Line 389: warning: exported method RemoteQOS.RemoveHTBShaping should have comment or be unexported (golint)
    • Line 422: warning: exported method RemoteQOS.Flush should have comment or be unexported (golint)
    • core/insonmnia/worker/network/manager_remote.go
    • Line 13: warning: exported type RemoteNetworkAliasAction should have comment or be unexported (golint)
    • Line 18: warning: exported method RemoteNetworkAliasAction.Execute should have comment or be unexported (golint)
    • Line 30: warning: exported method RemoteNetworkAliasAction.Rollback should have comment or be unexported (golint)
    • Line 36: warning: exported type RemoteHTBShapingAction should have comment or be unexported (golint)
    • Line 41: warning: exported method RemoteHTBShapingAction.Execute should have comment or be unexported (golint)
    • Line 55: warning: exported method RemoteHTBShapingAction.Rollback should have comment or be unexported (golint)
    • core/cmd/pandora/provider.go
    • Line 12: warning: exported const PoolSize should have comment or be unexported (golint)
    • Line 55: warning: exported type Config should have comment or be unexported (golint)
    • Line 61: warning: exported function NewProvider should have comment or be unexported (golint)
    • core/insonmnia/dwh/server.go
    • Line 30: warning: exported type DWH should have comment or be unexported (golint)
    • Line 49: warning: exported function NewDWH should have comment or be unexported (golint)
    • Line 61: warning: exported method DWH.Serve should have comment or be unexported (golint)
    • Line 93: warning: exported method DWH.Stop should have comment or be unexported (golint)
    • Line 280: warning: exported method DWH.GetDeals should have comment or be unexported (golint)
    • Line 293: warning: exported method DWH.GetDealDetails should have comment or be unexported (golint)
    • Line 306: warning: exported method DWH.GetDealConditions should have comment or be unexported (golint)
    • Line 319: warning: exported method DWH.GetOrders should have comment or be unexported (golint)
    • Line 332: warning: exported method DWH.GetMatchingOrders should have comment or be unexported (golint)
    • Line 345: warning: exported method DWH.GetOrderDetails should have comment or be unexported (golint)
    • Line 358: warning: exported method DWH.GetProfiles should have comment or be unexported (golint)
    • Line 371: warning: exported method DWH.GetProfileInfo should have comment or be unexported (golint)
    • Line 396: warning: exported method DWH.GetBlacklist should have comment or be unexported (golint)
    • Line 409: warning: exported method DWH.GetBlacklistsContainingUser should have comment or be unexported (golint)
    • Line 422: warning: exported method DWH.GetValidators should have comment or be unexported (golint)
    • Line 435: warning: exported method DWH.GetDealChangeRequests should have comment or be unexported (golint)
    • Line 442: warning: exported method DWH.GetChangeRequests should have comment or be unexported (golint)
    • Line 457: warning: exported method DWH.GetWorkers should have comment or be unexported (golint)
    • Line 470: warning: exported method DWH.GetStats should have comment or be unexported (golint)
    • Line 474: warning: exported method DWH.GetOrdersByIDs should have comment or be unexported (golint)
    • core/blockchain/config.go
    • Line 20: warning: exported function NewDefaultConfig should have comment or be unexported (golint)
    • Line 38: warning: exported method Config.UnmarshalYAML should have comment or be unexported (golint)
    • core/secsh/service.go
    • Line 15: warning: exported type RemotePTYService should have comment or be unexported (golint)
    • Line 21: warning: exported method RemotePTYService.Banner should have comment or be unexported (golint)
    • Line 57: warning: exported method RemotePTYService.Exec should have comment or be unexported (golint)
    • core/insonmnia/cgroups/cgroup.go
    • Line 11: warning: exported var ErrCgroupAlreadyExists should have comment or be unexported (golint)
    • Line 15: warning: exported type Process should have comment or be unexported (golint)
    • Line 21: warning: exported type Stats should have comment or be unexported (golint)
    • Line 25: warning: exported type CGroup should have comment or be unexported (golint)
    • Line 38: warning: exported type CGroupManager should have comment or be unexported (golint)
    • Line 150: warning: exported function NewCgroupManager should have comment or be unexported (golint)
    • core/proto/capabilities.go
    • Line 9: warning: exported method GPUDevice.FillHashID should have comment or be unexported (golint)
    • Line 16: warning: exported const MinNetFlagsCount should have comment (or a comment on this block) or be unexported (golint)
    • Line 23: warning: exported method NetFlags.ToBoolSlice should have comment or be unexported (golint)
    • Line 42: warning: exported function NetFlagsFromBoolSlice should have comment or be unexported (golint)
    • Line 52: warning: exported method NetFlags.GetIncoming should have comment or be unexported (golint)
    • Line 59: warning: exported method NetFlags.GetOutbound should have comment or be unexported (golint)
    • Line 66: warning: exported method NetFlags.GetOverlay should have comment or be unexported (golint)
    • Line 73: warning: exported method NetFlags.SetIncoming should have comment or be unexported (golint)
    • Line 82: warning: exported method NetFlags.SetOutbound should have comment or be unexported (golint)
    • Line 91: warning: exported method NetFlags.SetOverlay should have comment or be unexported (golint)
    • Line 100: warning: exported method NetFlags.ConverseImplication should have comment or be unexported (golint)
    • Line 104: warning: exported method GPUDevice.StorageKey should have comment or be unexported (golint)
    • Line 108: warning: exported method RAMDevice.HardwareHash should have comment or be unexported (golint)
    • Line 112: warning: exported method RAMDevice.GetFree should have comment or be unexported (golint)
    • Line 116: warning: exported method Network.HardwareHash should have comment or be unexported (golint)
    • Line 120: warning: exported method StorageDevice.HardwareHash should have comment or be unexported (golint)
    • core/insonmnia/benchmarks/benchmarks.go
    • Line 18: warning: comment on exported const CPUCores should be of the form "CPUCores ..." (golint)
    • Line 20: warning: exported const RamSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported type BenchList should have comment or be unexported (golint)
    • Line 188: warning: exported type Config should have comment or be unexported (golint)
    • core/accounts/multi_keystore.go
    • Line 17: warning: exported type KeystoreConfig should have comment or be unexported (golint)
    • Line 22: warning: exported function NewKeystoreConfig should have comment or be unexported (golint)
    • Line 37: warning: exported type MultiKeystore should have comment or be unexported (golint)
    • Line 43: warning: exported function NewMultiKeystore should have comment or be unexported (golint)
    • Line 101: warning: exported method MultiKeystore.GetKeyWithPass should have comment or be unexported (golint)
    • Line 133: warning: exported method MultiKeystore.GetDefaultAddress should have comment or be unexported (golint)
    • core/optimus/devices.go
    • Line 25: warning: exported type Consumer should have comment or be unexported (golint)
    • Line 155: warning: exported type DeviceManager should have comment or be unexported (golint)
    • Line 188: warning: exported method DeviceManager.Clone should have comment or be unexported (golint)
    • Line 204: warning: exported method DeviceManager.GPUCount should have comment or be unexported (golint)
    • Line 208: warning: exported method DeviceManager.Contains should have comment or be unexported (golint)
    • Line 227: warning: exported method DeviceManager.Consume should have comment or be unexported (golint)
    • Line 371: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • core/util/xnet/quic.go
    • Line 34: warning: exported function DefaultQUICConfig should have comment or be unexported (golint)
    • Line 45: warning: exported type QUICConn should have comment or be unexported (golint)
    • Line 50: warning: exported function NewQUICConn should have comment or be unexported (golint)
    • Line 64: warning: exported method QUICConn.LocalAddr should have comment or be unexported (golint)
    • Line 68: warning: exported method QUICConn.RemoteAddr should have comment or be unexported (golint)
    • Line 72: warning: exported method QUICConn.Close should have comment or be unexported (golint)
    • Line 86: warning: exported function ListenQUIC should have comment or be unexported (golint)
    • Line 100: warning: exported type QUICListener should have comment or be unexported (golint)
    • Line 104: warning: exported method QUICListener.Accept should have comment or be unexported (golint)
    • core/insonmnia/hardware/hardware.go
    • Line 64: warning: exported method Hardware.Hash should have comment or be unexported (golint)
    • Line 68: warning: exported method Hardware.HashGPU should have comment or be unexported (golint)
    • Line 68: warning: receiver name m should be consistent with previous receiver name h for Hardware (golint)
    • Line 79: warning: exported method Hardware.GPUIDs should have comment or be unexported (golint)
    • Line 79: warning: receiver name m should be consistent with previous receiver name h for Hardware (golint)
    • Line 103: warning: exported method Hardware.SetNetworkIncoming should have comment or be unexported (golint)
    • Line 114: warning: exported method Hardware.AskPlanResources should have comment or be unexported (golint)
    • Line 129: warning: exported method Hardware.SetDevicesFromBenches should have comment or be unexported (golint)
    • Line 191: warning: exported method Hardware.FullBenchmarks should have comment or be unexported (golint)
    • Line 195: warning: exported method Hardware.ResourcesToBenchmarks should have comment or be unexported (golint)
    • Line 213: warning: comment on exported method Hardware.LimitTo should be of the form "LimitTo ..." (golint)
    • Line 284: warning: exported method Hardware.ResourcesToBenchmarkMap should have comment or be unexported (golint)
    • Line 350: warning: exported method DeviceMapping.Hash should have comment or be unexported (golint)
    • core/insonmnia/worker/server.go
    • Line 205: warning: exported function NewWorker should have comment or be unexported (golint)
    • Line 888: warning: exported method Worker.CancelDealTasks should have comment or be unexported (golint)
    • Line 936: warning: exported method Worker.GetContainerInfo should have comment or be unexported (golint)
    • Line 943: warning: exported method Worker.Devices should have comment or be unexported (golint)
    • Line 1033: warning: exported method Worker.PushTask should have comment or be unexported (golint)
    • Line 1054: warning: exported method Worker.PullTask should have comment or be unexported (golint)
    • Line 1136: warning: exported method Worker.StartTask should have comment or be unexported (golint)
    • Line 1349: warning: exported method Worker.PurgeTasks should have comment or be unexported (golint)
    • Line 1372: warning: exported method Worker.Tasks should have comment or be unexported (golint)
    • Line 1376: warning: exported method Worker.CollectTasksStatuses should have comment or be unexported (golint)
    • Line 1434: warning: comment on exported method Worker.JoinNetwork should be of the form "JoinNetwork ..." (golint)
    • Line 1448: warning: exported method Worker.TaskStatus should have comment or be unexported (golint)
    • Line 1483: warning: exported method Worker.RunSSH should have comment or be unexported (golint)
    • Line 1695: warning: exported type BenchmarkHasher should have comment or be unexported (golint)
    • Line 1700: warning: exported type DeviceKeyer should have comment or be unexported (golint)
    • Line 1711: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 1836: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 1860: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 1955: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 2009: warning: exported method Worker.AskPlans should have comment or be unexported (golint)
    • Line 2013: warning: exported method Worker.CreateAskPlan should have comment or be unexported (golint)
    • Line 2028: warning: exported method Worker.RemoveAskPlan should have comment or be unexported (golint)
    • Line 2035: warning: exported method Worker.PurgeAskPlans should have comment or be unexported (golint)
    • Line 2040: warning: exported method Worker.PurgeAskPlansDetailed should have comment or be unexported (golint)
    • Line 2044: warning: exported method Worker.ScheduleMaintenance should have comment or be unexported (golint)
    • Line 2051: warning: exported method Worker.NextMaintenance should have comment or be unexported (golint)
    • Line 2058: warning: exported method Worker.DebugState should have comment or be unexported (golint)
    • Line 2065: warning: exported method Worker.GetDealInfo should have comment or be unexported (golint)
    • Line 2073: warning: exported method Worker.RemoveBenchmark should have comment or be unexported (golint)
    • Line 2081: warning: exported method Worker.PurgeBenchmarks should have comment or be unexported (golint)
    • Line 2139: warning: exported method Worker.AskPlanByTaskID should have comment or be unexported (golint)
    • Line 2147: warning: exported method Worker.Metrics should have comment or be unexported (golint)
    • Line 2151: warning: exported method Worker.AddCapability should have comment or be unexported (golint)
    • Line 2165: warning: exported method Worker.RemoveCapability should have comment or be unexported (golint)
    • core/secsh/secshc/config.go
    • Line 9: warning: exported type RPTYConfig should have comment or be unexported (golint)
    • Line 14: warning: exported function NewRPTYConfig should have comment or be unexported (golint)
    • core/proto/node.go
    • Line 5: warning: exported method TokenTransferRequest.Validate should have comment or be unexported (golint)
    • core/insonmnia/auth/auth.go
    • Line 55: warning: exported method AuthRouter.Authorize should have comment or be unexported (golint)
    • Line 61: warning: exported method AuthRouter.AuthorizeNoLog should have comment or be unexported (golint)
    • Line 91: warning: exported type AuthOption should have comment or be unexported (golint)
    • Line 120: warning: exported type Authorization should have comment or be unexported (golint)
    • Line 196: warning: comment on exported type AnyOfTransportCredentialsAuthorization should be of the form "AnyOfTransportCredentialsAuthorization ..." (with optional leading article) (golint)
    • Line 203: warning: exported function NewAnyOfTransportCredentialsAuthorization should have comment or be unexported (golint)
    • Line 239: warning: exported method AnyOfTransportCredentialsAuthorization.Subscribe should have comment or be unexported (golint)
    • Line 254: warning: exported method AnyOfTransportCredentialsAuthorization.Add should have comment or be unexported (golint)
    • Line 270: warning: exported method AnyOfTransportCredentialsAuthorization.Remove should have comment or be unexported (golint)
    • Line 280: warning: exported method AnyOfTransportCredentialsAuthorization.Authorize should have comment or be unexported (golint)
    • core/insonmnia/worker/network/tinc_tuner.go
    • Line 23: warning: exported type TincTuner should have comment or be unexported (golint)
    • Line 29: warning: exported type TincCleaner should have comment or be unexported (golint)
    • Line 35: warning: exported function NewTincTuner should have comment or be unexported (golint)
    • Line 102: warning: exported method TincTuner.Tune should have comment or be unexported (golint)
    • Line 144: warning: exported method TincTuner.GetCleaner should have comment or be unexported (golint)
    • Line 155: warning: exported method TincTuner.Tuned should have comment or be unexported (golint)
    • Line 159: warning: exported method TincTuner.GenerateInvitation should have comment or be unexported (golint)
    • Line 163: warning: exported method TincCleaner.Close should have comment or be unexported (golint)
    • core/optimus/engine_axe.go
    • Line 12: warning: exported type AxeModelConfig should have comment or be unexported (golint)
    • Line 14: warning: exported type AxeModelFactory should have comment or be unexported (golint)
    • Line 18: warning: exported method AxeModelFactory.Config should have comment or be unexported (golint)
    • Line 22: warning: exported method AxeModelFactory.Create should have comment or be unexported (golint)
    • Line 28: warning: exported type AxeModel should have comment or be unexported (golint)
    • Line 33: warning: exported method AxeModel.Optimize should have comment or be unexported (golint)
    • core/proto/net.go
    • Line 11: warning: exported function NewAddr should have comment or be unexported (golint)
    • Line 23: warning: exported function TransformNetAddrs should have comment or be unexported (golint)
    • Line 38: warning: exported method Addr.IsValid should have comment or be unexported (golint)
    • Line 42: warning: exported method Addr.IntoTCP should have comment or be unexported (golint)
    • Line 49: warning: exported method Addr.IntoUDP should have comment or be unexported (golint)
    • Line 58: warning: exported function NewSocketAddr should have comment or be unexported (golint)
    • Line 75: warning: exported method SocketAddr.IntoTCP should have comment or be unexported (golint)
    • Line 79: warning: exported method SocketAddr.IntoUDP should have comment or be unexported (golint)
    • Line 83: warning: exported function FormatAddrs should have comment or be unexported (golint)
    • core/proto/optimus.go
    • Line 7: warning: exported method PredictSupplierRequest.Validate should have comment or be unexported (golint)
    • Line 15: warning: exported method PredictSupplierRequest.Normalize should have comment or be unexported (golint)
    • core/cmd/pandora/config.go
    • Line 3: warning: exported type LoggingConfig should have comment or be unexported (golint)
    • Line 7: warning: exported type EthereumConfig should have comment or be unexported (golint)
    • core/insonmnia/node/mod.go
    • Line 16: warning: exported type Node should have comment or be unexported (golint)
    • Line 85: warning: exported method Node.Serve should have comment or be unexported (golint)
    • core/insonmnia/node/options.go
    • Line 18: warning: exported type Option should have comment or be unexported (golint)
    • Line 19: warning: exported type ServerOption should have comment or be unexported (golint)
    • Line 31: warning: exported function WithLog should have comment or be unexported (golint)
    • Line 56: warning: exported function WithGRPCServer should have comment or be unexported (golint)
    • Line 63: warning: exported function WithGRPCSecure should have comment or be unexported (golint)
    • Line 70: warning: exported function WithQUIC should have comment or be unexported (golint)
    • Line 79: warning: exported function WithRESTServer should have comment or be unexported (golint)
    • Line 86: warning: exported function WithRESTSecure should have comment or be unexported (golint)
    • Line 101: warning: exported function WithGRPCServerMetrics should have comment or be unexported (golint)
    • Line 108: warning: exported function WithSSH should have comment or be unexported (golint)
    • Line 121: warning: exported function WithServerLog should have comment or be unexported (golint)
    • core/proto/container.go
    • Line 12: warning: exported method Registry.Auth should have comment or be unexported (golint)
    • Line 42: warning: exported method Container.Validate should have comment or be unexported (golint)
    • core/optimus/engine_greedy.go
    • Line 11: warning: exported type GreedyLinearRegressionModelConfig should have comment or be unexported (golint)
    • Line 17: warning: exported type GreedyLinearRegressionModelFactory should have comment or be unexported (golint)
    • Line 21: warning: exported method GreedyLinearRegressionModelFactory.Config should have comment or be unexported (golint)
    • Line 25: warning: exported method GreedyLinearRegressionModelFactory.Create should have comment or be unexported (golint)
    • Line 50: warning: exported method GreedyLinearRegressionModel.Optimize should have comment or be unexported (golint)
    • core/blockchain/options.go
    • Line 86: warning: exported type Option should have comment or be unexported (golint)
    • Line 88: warning: exported function WithMasterchainGasPrice should have comment or be unexported (golint)
    • Line 94: warning: exported function WithSidechainGasPrice should have comment or be unexported (golint)
    • Line 100: warning: exported function WithMasterchainEndpoint should have comment or be unexported (golint)
    • Line 106: warning: exported function WithSidechainEndpoint should have comment or be unexported (golint)
    • Line 112: warning: exported function WithBlocksBatchSize should have comment or be unexported (golint)
    • Line 118: warning: exported function WithConfig should have comment or be unexported (golint)
    • Line 132: warning: exported function WithTimeout should have comment or be unexported (golint)
    • Line 139: warning: exported function WithBlockConfirmations should have comment or be unexported (golint)
    • Line 145: warning: exported function WithSidechainClient should have comment or be unexported (golint)
    • Line 151: warning: exported function WithMasterchainClient should have comment or be unexported (golint)
    • Line 157: warning: exported function WithContractRegistry should have comment or be unexported (golint)
    • Line 163: warning: exported function WithNiceMarket should have comment or be unexported (golint)
    • core/util/xgrpc/metrics.go
    • Line 21: warning: exported type Handler should have comment or be unexported (golint)
    • Line 23: warning: exported method Handler.TagRPC should have comment or be unexported (golint)
    • Line 30: warning: exported method Handler.TagConn should have comment or be unexported (golint)
    • core/connor/price/cmc_wtm.go
    • Line 13: warning: exported type CoinMarketCapConfig should have comment or be unexported (golint)
    • Line 19: warning: exported type CoinMarketCapFactory should have comment or be unexported (golint)
    • Line 23: warning: exported method CoinMarketCapFactory.Config should have comment or be unexported (golint)
    • Line 27: warning: exported method CoinMarketCapFactory.ValidateConfig should have comment or be unexported (golint)
    • Line 42: warning: exported method CoinMarketCapFactory.Init should have comment or be unexported (golint)
    • Line 55: warning: exported function NewCMCProvider should have comment or be unexported (golint)
    • core/cmd/pandora/ammo.go
    • Line 10: warning: exported type AmmoType should have comment or be unexported (golint)
    • Line 12: warning: exported type Ammo should have comment or be unexported (golint)
    • Line 22: warning: exported type AmmoFactory should have comment or be unexported (golint)
    • Line 28: warning: exported type PoolAmmoFactory should have comment or be unexported (golint)
    • Line 38: warning: exported method PoolAmmoFactory.Pool should have comment or be unexported (golint)
    • core/proto/insonmnia.go
    • Line 36: warning: exported method Duration.MarshalYAML should have comment or be unexported (golint)
    • Line 40: warning: exported method Duration.UnmarshalYAML should have comment or be unexported (golint)
    • Line 62: warning: exported method EthAddress.MarshalText should have comment or be unexported (golint)
    • Line 66: warning: exported method EthAddress.UnmarshalText should have comment or be unexported (golint)
    • Line 76: warning: exported method EthAddress.IsZero should have comment or be unexported (golint)
    • Line 84: warning: exported function NewEthAddress should have comment or be unexported (golint)
    • Line 88: warning: exported function NewEthAddressFromHex should have comment or be unexported (golint)
    • Line 104: warning: exported method DataSize.UnmarshalYAML should have comment or be unexported (golint)
    • Line 119: warning: exported method DataSize.MarshalYAML should have comment or be unexported (golint)
    • Line 131: warning: exported method DataSizeRate.UnmarshalYAML should have comment or be unexported (golint)
    • Line 146: warning: exported method DataSizeRate.MarshalYAML should have comment or be unexported (golint)
    • Line 151: warning: exported method Price.Add should have comment or be unexported (golint)
    • Line 159: warning: exported method Price.MarshalYAML should have comment or be unexported (golint)
    • Line 168: warning: exported method Price.UnmarshalYAML should have comment or be unexported (golint)
    • Line 180: warning: exported method Price.LoadFromString should have comment or be unexported (golint)
    • Line 209: warning: exported method StartTaskRequest.Validate should have comment or be unexported (golint)
    • Line 216: warning: exported method TaskSpec.Validate should have comment or be unexported (golint)
    • core/util/rest/aes.go
    • Line 14: warning: exported type AESDecoderEncoder should have comment or be unexported (golint)
    • Line 18: warning: exported function NewAESDecoderEncoder should have comment or be unexported (golint)
    • Line 28: warning: exported method AESDecoderEncoder.DecodeBody should have comment or be unexported (golint)
    • Line 48: warning: exported method AESDecoderEncoder.Encode should have comment or be unexported (golint)
    • Line 52: warning: exported type AESResponseWriter should have comment or be unexported (golint)
    • Line 70: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • core/util/xgrpc/server.go
    • Line 7: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 10: warning: exported function NewServer should have comment or be unexported (golint)
    • Line 22: warning: exported function Services should have comment or be unexported (golint)
    • core/util/xdocker/reference.go
    • Line 9: warning: exported type Reference should have comment or be unexported (golint)
    • Line 13: warning: exported function NewReference should have comment or be unexported (golint)
    • Line 21: warning: exported method Reference.Parse should have comment or be unexported (golint)
    • Line 30: warning: exported method Reference.UnmarshalText should have comment or be unexported (golint)
    • Line 34: warning: exported method Reference.MarshalText should have comment or be unexported (golint)
    • Line 38: warning: exported method Reference.Named should have comment or be unexported (golint)
    • Line 45: warning: exported method Reference.WithTag should have comment or be unexported (golint)
    • Line 58: warning: exported method Reference.HasDigest should have comment or be unexported (golint)
    • Line 63: warning: exported method Reference.Digest should have comment or be unexported (golint)
    • Line 71: warning: exported method Reference.WithDigest should have comment or be unexported (golint)
    • Line 84: warning: exported method Reference.HasName should have comment or be unexported (golint)
    • Line 89: warning: exported method Reference.Name should have comment or be unexported (golint)
    • core/connor/price/config.go
    • Line 25: warning: exported type Factory should have comment or be unexported (golint)
    • Line 31: warning: exported function NewFactory should have comment or be unexported (golint)
    • Line 66: warning: exported method SourceConfig.MarshalYAML should have comment or be unexported (golint)
    • Line 70: warning: exported method SourceConfig.UnmarshalYAML should have comment or be unexported (golint)
    • core/connor/price/static.go
    • Line 8: warning: exported type StaticProviderConfig should have comment or be unexported (golint)
    • Line 12: warning: exported type StaticFactory should have comment or be unexported (golint)
    • Line 16: warning: exported method StaticFactory.Config should have comment or be unexported (golint)
    • Line 20: warning: exported method StaticFactory.ValidateConfig should have comment or be unexported (golint)
    • Line 28: warning: exported method StaticFactory.Init should have comment or be unexported (golint)
    • Line 36: warning: exported function NewStaticProvider should have comment or be unexported (golint)
    • core/insonmnia/gateway/pool.go
    • Line 11: warning: exported type PortPool should have comment or be unexported (golint)
    • Line 17: warning: exported function NewPortPool should have comment or be unexported (golint)
    • Line 30: warning: exported method PortPool.Assign should have comment or be unexported (golint)
    • Line 48: warning: exported method PortPool.Retain should have comment or be unexported (golint)
    • core/insonmnia/worker/plugin/config.go
    • Line 5: warning: exported type Config should have comment or be unexported (golint)
    • Line 12: warning: exported type VolumesConfig should have comment or be unexported (golint)
    • Line 17: warning: exported type OverlayConfig should have comment or be unexported (golint)
    • core/util/multierror/error.go
    • Line 10: warning: exported function NewMultiError should have comment or be unexported (golint)
    • Line 14: warning: exported function NewTSMultiError should have comment or be unexported (golint)
    • Line 18: warning: exported function Append should have comment or be unexported (golint)
    • Line 22: warning: exported function AppendUnique should have comment or be unexported (golint)
    • Line 41: warning: exported type TSMultiError should have comment or be unexported (golint)
    • Line 46: warning: exported method TSMultiError.Append should have comment or be unexported (golint)
    • Line 52: warning: exported method TSMultiError.ErrorOrNil should have comment or be unexported (golint)
    • core/accounts/config.go
    • Line 7: warning: exported type EthConfig should have comment or be unexported (golint)
    • Line 12: warning: exported method EthConfig.LoadKey should have comment or be unexported (golint)
    • core/insonmnia/gateway/gateway_linux.go
    • Line 17: warning: exported const PlatformSupportIPVS should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: exported var ErrIPVSFailed should have comment or be unexported (golint)
    • Line 36: warning: exported type Gateway should have comment or be unexported (golint)
    • Line 46: warning: exported function NewGateway should have comment or be unexported (golint)
    • Line 106: warning: comment on exported method Gateway.GetMetrics should be of the form "GetMetrics ..." (golint)
    • Line 268: warning: exported method Gateway.Close should have comment or be unexported (golint)
    • Line 278: warning: exported function GetOutboundIP should have comment or be unexported (golint)
    • core/cmd/cli/commands/printers.go
    • Line 28: warning: exported type Printer should have comment or be unexported (golint)
    • Line 33: warning: exported type IndentPrinter should have comment or be unexported (golint)
    • Line 39: warning: exported method IndentPrinter.Printf should have comment or be unexported (golint)
    • Line 45: warning: exported method IndentPrinter.Println should have comment or be unexported (golint)
    • Line 379: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 463: warning: exported type ExtendedDealInfo should have comment or be unexported (golint)
    • Line 589: warning: exported type IDErrorTuple should have comment or be unexported (golint)
    • core/insonmnia/resource/scheduler.go
    • Line 16: warning: exported type Scheduler should have comment or be unexported (golint)
    • Line 27: warning: exported function NewScheduler should have comment or be unexported (golint)
    • Line 42: warning: exported method Scheduler.DebugDump should have comment or be unexported (golint)
    • Line 58: warning: comment on exported method Scheduler.AskPlanIDByTaskID should be of the form "AskPlanIDByTaskID ..." (golint)
    • Line 69: warning: exported method Scheduler.GetCommitedFree should have comment or be unexported (golint)
    • Line 90: warning: exported method Scheduler.MakeRoomAndCommit should have comment or be unexported (golint)
    • Line 96: warning: exported method Scheduler.ConsumeTask should have comment or be unexported (golint)
    • Line 115: warning: exported method Scheduler.Release should have comment or be unexported (golint)
    • Line 126: warning: exported method Scheduler.ReleaseTask should have comment or be unexported (golint)
    • Line 146: warning: exported method Scheduler.ResourceByTask should have comment or be unexported (golint)
    • Line 168: warning: exported method Scheduler.OnDealFinish should have comment or be unexported (golint)
    • core/insonmnia/worker/volume/mount.go
    • Line 8: warning: exported type Permission should have comment or be unexported (golint)
    • Line 11: warning: exported const RW should have comment (or a comment on this block) or be unexported (golint)
    • Line 15: warning: exported function ParsePermission should have comment or be unexported (golint)
    • core/util/rest/options.go
    • Line 44: warning: exported type Decoder should have comment or be unexported (golint)
    • Line 48: warning: exported type Encoder should have comment or be unexported (golint)
    • Line 52: warning: exported function WithLog should have comment or be unexported (golint)
    • Line 58: warning: exported function WithDecoder should have comment or be unexported (golint)
    • Line 64: warning: exported function WithEncoder should have comment or be unexported (golint)
    • Line 70: warning: exported function WithInterceptors should have comment or be unexported (golint)
    • core/insonmnia/logging/logging.go
    • Line 32: warning: exported type Leveler should have comment or be unexported (golint)
    • Line 43: warning: exported function NewLevel should have comment or be unexported (golint)
    • Line 47: warning: exported function NewLevelFromString should have comment or be unexported (golint)
    • Line 61: warning: exported method Level.MarshalText should have comment or be unexported (golint)
    • Line 65: warning: exported method Level.UnmarshalYAML should have comment or be unexported (golint)
    • core/insonmnia/worker/network/l2tp_network.go
    • Line 12: warning: exported type L2TPNetworkDriver should have comment or be unexported (golint)
    • Line 17: warning: exported function NewL2TPDriver should have comment or be unexported (golint)
    • Line 24: warning: exported method L2TPNetworkDriver.GetCapabilities should have comment or be unexported (golint)
    • Line 32: warning: exported method L2TPNetworkDriver.CreateNetwork should have comment or be unexported (golint)
    • Line 60: warning: exported method L2TPNetworkDriver.CreateEndpoint should have comment or be unexported (golint)
    • Line 88: warning: exported method L2TPNetworkDriver.Join should have comment or be unexported (golint)
    • Line 113: warning: exported method L2TPNetworkDriver.Leave should have comment or be unexported (golint)
    • Line 118: warning: exported method L2TPNetworkDriver.EndpointInfo should have comment or be unexported (golint)
    • Line 140: warning: exported method L2TPNetworkDriver.AllocateNetwork should have comment or be unexported (golint)
    • Line 145: warning: exported method L2TPNetworkDriver.DeleteNetwork should have comment or be unexported (golint)
    • Line 150: warning: exported method L2TPNetworkDriver.FreeNetwork should have comment or be unexported (golint)
    • Line 155: warning: exported method L2TPNetworkDriver.DeleteEndpoint should have comment or be unexported (golint)
    • Line 160: warning: exported method L2TPNetworkDriver.DiscoverNew should have comment or be unexported (golint)
    • Line 165: warning: exported method L2TPNetworkDriver.DiscoverDelete should have comment or be unexported (golint)
    • Line 170: warning: exported method L2TPNetworkDriver.ProgramExternalConnectivity should have comment or be unexported (golint)
    • Line 175: warning: exported method L2TPNetworkDriver.RevokeExternalConnectivity should have comment or be unexported (golint)
    • core/optimus/market_cache.go
    • Line 14: warning: exported type MarketScanner should have comment or be unexported (golint)
    • Line 67: warning: exported method MarketCache.ActiveOrders should have comment or be unexported (golint)
    • Line 73: warning: exported method MarketCache.ExecutedOrders should have comment or be unexported (golint)
    • Line 79: warning: exported type PredefinedMarketCache should have comment or be unexported (golint)
    • Line 83: warning: exported function NewPredefinedMarketCache should have comment or be unexported (golint)
    • Line 109: warning: exported method PredefinedMarketCache.ActiveOrders should have comment or be unexported (golint)
    • Line 113: warning: exported method PredefinedMarketCache.ExecutedOrders should have comment or be unexported (golint)
    • core/insonmnia/worker/whitelist.go
    • Line 24: warning: exported type Whitelist should have comment or be unexported (golint)
    • Line 28: warning: exported function NewWhitelist should have comment or be unexported (golint)
    • Line 43: warning: exported type WhitelistRecord should have comment or be unexported (golint)
    • core/insonmnia/worker/plugin/plugin.go
    • Line 59: warning: exported type StorageQuotaProvider should have comment or be unexported (golint)
    • Line 64: warning: exported type NetworkProvider should have comment or be unexported (golint)
    • Line 301: warning: exported method Repository.GetCleanup should have comment or be unexported (golint)
    • Line 321: warning: exported method Repository.GetVolumeCleaner should have comment or be unexported (golint)
    • Line 345: warning: exported method Repository.PostCreationTune should have comment or be unexported (golint)
    • Line 360: warning: exported method Repository.TuneStorageQuota should have comment or be unexported (golint)
    • Line 364: warning: exported method Repository.TuneNetworks should have comment or be unexported (golint)
    • Line 384: warning: exported method Repository.GetNetworkCleaner should have comment or be unexported (golint)
    • Line 405: warning: exported method Repository.JoinNetwork should have comment or be unexported (golint)
    • Line 414: warning: exported method Repository.Close should have comment or be unexported (golint)
    • Line 430: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • core/util/action/queue.go
    • Line 15: warning: exported function NewActionQueue should have comment or be unexported (golint)
    • Line 38: warning: exported function Rollback should have comment or be unexported (golint)
    • core/insonmnia/worker/network/manager.go
    • Line 44: warning: exported function NewActionQueue should have comment or be unexported (golint)
    • Line 67: warning: exported method ActionQueue.Rollback should have comment or be unexported (golint)
    • Line 98: warning: exported type Network should have comment or be unexported (golint)
    • Line 106: warning: exported type CreateNetworkRequest should have comment or be unexported (golint)
    • Line 113: warning: exported type PruneRequest should have comment or be unexported (golint)
    • Line 118: warning: exported type PruneReply should have comment or be unexported (golint)
    • Line 123: warning: exported type NetworkManagerConfig should have comment or be unexported (golint)
    • Line 135: warning: exported type NetworkManager should have comment or be unexported (golint)
    • Line 164: warning: exported type Option should have comment or be unexported (golint)
    • Line 166: warning: exported function WithRemote should have comment or be unexported (golint)
    • Line 204: warning: exported function WithLog should have comment or be unexported (golint)
    • Line 240: warning: exported method NetworkManager.CreateNetwork should have comment or be unexported (golint)
    • Line 271: warning: exported method NetworkManager.RemoveNetwork should have comment or be unexported (golint)
    • Line 311: warning: exported method NetworkManager.Close should have comment or be unexported (golint)
    • Line 315: warning: exported type DockerNetworkCreateAction should have comment or be unexported (golint)
    • Line 320: warning: exported method DockerNetworkCreateAction.Execute should have comment or be unexported (golint)
    • Line 341: warning: exported method DockerNetworkCreateAction.Rollback should have comment or be unexported (golint)
    • core/insonmnia/npp/rendezvous/server.go
    • Line 227: warning: exported method Server.Resolve should have comment or be unexported (golint)
    • Line 262: warning: exported method Server.ResolveAll should have comment or be unexported (golint)
    • Line 284: warning: exported method Server.Publish should have comment or be unexported (golint)
    • Line 418: warning: exported method Server.Info should have comment or be unexported (golint)
    • core/proto/gpu_device.go
    • Line 3: warning: exported var Radeons should have comment or be unexported (golint)
    • Line 9: warning: exported var Nvidias should have comment or be unexported (golint)
    • Line 13: warning: exported function TypeFromVendorID should have comment or be unexported (golint)
    • core/util/ticker.go
    • Line 7: warning: exported type ImmediateTicker should have comment or be unexported (golint)
    • Line 13: warning: exported function NewImmediateTicker should have comment or be unexported (golint)
    • Line 40: warning: exported method ImmediateTicker.Stop should have comment or be unexported (golint)
    • core/optimus/engine_branch.go
    • Line 106: warning: exported type BranchBoundModelConfig should have comment or be unexported (golint)
    • Line 110: warning: exported type BranchBoundModelFactory should have comment or be unexported (golint)
    • Line 114: warning: exported method BranchBoundModelFactory.Config should have comment or be unexported (golint)
    • Line 118: warning: exported method BranchBoundModelFactory.Create should have comment or be unexported (golint)
    • Line 124: warning: exported type BranchBoundModel should have comment or be unexported (golint)
    • Line 128: warning: exported method BranchBoundModel.Optimize should have comment or be unexported (golint)
    • core/blockchain/api.go
    • Line 32: warning: exported type API should have comment or be unexported (golint)
    • Line 46: warning: exported type ContractRegistry should have comment or be unexported (golint)
    • Line 59: warning: exported type ProfileRegistryAPI should have comment or be unexported (golint)
    • Line 72: warning: exported type EventsAPI should have comment or be unexported (golint)
    • Line 79: warning: exported type MarketAPI should have comment or be unexported (golint)
    • Line 100: warning: exported type BlacklistAPI should have comment or be unexported (golint)
    • Line 170: warning: exported type MultiSigAPI should have comment or be unexported (golint)
    • Line 188: warning: exported type BasicAPI should have comment or be unexported (golint)
    • Line 203: warning: exported function NewAPI should have comment or be unexported (golint)
    • Line 343: warning: exported method BasicAPI.Market should have comment or be unexported (golint)
    • Line 354: warning: exported method BasicAPI.MasterchainToken should have comment or be unexported (golint)
    • Line 358: warning: exported method BasicAPI.SidechainToken should have comment or be unexported (golint)
    • Line 362: warning: exported method BasicAPI.Blacklist should have comment or be unexported (golint)
    • Line 366: warning: exported method BasicAPI.ProfileRegistry should have comment or be unexported (golint)
    • Line 370: warning: exported method BasicAPI.Events should have comment or be unexported (golint)
    • Line 374: warning: exported method BasicAPI.OracleUSD should have comment or be unexported (golint)
    • Line 378: warning: exported method BasicAPI.OracleMultiSig should have comment or be unexported (golint)
    • Line 382: warning: exported method BasicAPI.MasterchainGate should have comment or be unexported (golint)
    • Line 386: warning: exported method BasicAPI.SidechainGate should have comment or be unexported (golint)
    • Line 390: warning: exported method BasicAPI.ContractRegistry should have comment or be unexported (golint)
    • Line 394: warning: exported function NewRegistry should have comment or be unexported (golint)
    • Line 414: warning: exported type BasicContractRegistry should have comment or be unexported (golint)
    • Line 473: warning: exported method BasicContractRegistry.SidechainSNMAddress should have comment or be unexported (golint)
    • Line 477: warning: exported method BasicContractRegistry.MasterchainSNMAddress should have comment or be unexported (golint)
    • Line 481: warning: exported method BasicContractRegistry.BlacklistAddress should have comment or be unexported (golint)
    • Line 485: warning: exported method BasicContractRegistry.MarketAddress should have comment or be unexported (golint)
    • Line 489: warning: exported method BasicContractRegistry.ProfileRegistryAddress should have comment or be unexported (golint)
    • Line 493: warning: exported method BasicContractRegistry.OracleUsdAddress should have comment or be unexported (golint)
    • Line 497: warning: exported method BasicContractRegistry.GatekeeperMasterchainAddress should have comment or be unexported (golint)
    • Line 501: warning: exported method BasicContractRegistry.GatekeeperSidechainAddress should have comment or be unexported (golint)
    • Line 505: warning: exported method BasicContractRegistry.TestnetFaucetAddress should have comment or be unexported (golint)
    • Line 509: warning: exported method BasicContractRegistry.OracleMultiSig should have comment or be unexported (golint)
    • Line 513: warning: exported type BasicMarketAPI should have comment or be unexported (golint)
    • Line 521: warning: exported function NewBasicMarket should have comment or be unexported (golint)
    • Line 581: warning: exported method BasicMarketAPI.QuickBuy should have comment or be unexported (golint)
    • Line 594: warning: exported method BasicMarketAPI.OpenDeal should have comment or be unexported (golint)
    • Line 620: warning: exported method BasicMarketAPI.CloseDeal should have comment or be unexported (golint)
    • Line 639: warning: exported method BasicMarketAPI.GetDealInfo should have comment or be unexported (golint)
    • Line 683: warning: exported method BasicMarketAPI.GetDealsAmount should have comment or be unexported (golint)
    • Line 687: warning: exported method BasicMarketAPI.PlaceOrder should have comment or be unexported (golint)
    • Line 725: warning: exported method BasicMarketAPI.CancelOrder should have comment or be unexported (golint)
    • Line 741: warning: exported method BasicMarketAPI.GetOrderInfo should have comment or be unexported (golint)
    • Line 787: warning: exported method BasicMarketAPI.GetOrdersAmount should have comment or be unexported (golint)
    • Line 791: warning: exported method BasicMarketAPI.Bill should have comment or be unexported (golint)
    • Line 810: warning: exported method BasicMarketAPI.RegisterWorker should have comment or be unexported (golint)
    • Line 826: warning: exported method BasicMarketAPI.ConfirmWorker should have comment or be unexported (golint)
    • Line 842: warning: exported method BasicMarketAPI.RemoveWorker should have comment or be unexported (golint)
    • Line 858: warning: exported method BasicMarketAPI.GetMaster should have comment or be unexported (golint)
    • Line 862: warning: exported method BasicMarketAPI.GetDealChangeRequestInfo should have comment or be unexported (golint)
    • Line 878: warning: exported method BasicMarketAPI.CreateChangeRequest should have comment or be unexported (golint)
    • Line 904: warning: exported method BasicMarketAPI.CancelChangeRequest should have comment or be unexported (golint)
    • Line 920: warning: exported method BasicMarketAPI.GetNumBenchmarks should have comment or be unexported (golint)
    • Line 931: warning: exported type ProfileRegistry should have comment or be unexported (golint)
    • Line 937: warning: exported function NewProfileRegistry should have comment or be unexported (golint)
    • Line 955: warning: exported method ProfileRegistry.CreateCertificate should have comment or be unexported (golint)
    • Line 960: warning: exported method ProfileRegistry.RemoveCertificate should have comment or be unexported (golint)
    • Line 973: warning: exported method ProfileRegistry.AddValidator should have comment or be unexported (golint)
    • Line 978: warning: exported method ProfileRegistry.GetValidatorLevel should have comment or be unexported (golint)
    • Line 982: warning: exported method ProfileRegistry.RemoveValidator should have comment or be unexported (golint)
    • Line 987: warning: exported method ProfileRegistry.GetAttributeCount should have comment or be unexported (golint)
    • Line 991: warning: exported method ProfileRegistry.GetAttributeValue should have comment or be unexported (golint)
    • Line 995: warning: exported method ProfileRegistry.GetProfileLevel should have comment or be unexported (golint)
    • Line 1003: warning: exported method ProfileRegistry.GetValidator should have comment or be unexported (golint)
    • Line 1015: warning: exported method ProfileRegistry.GetCertificate should have comment or be unexported (golint)
    • Line 1030: warning: exported type BasicBlacklistAPI should have comment or be unexported (golint)
    • Line 1036: warning: exported function NewBasicBlacklist should have comment or be unexported (golint)
    • Line 1054: warning: exported method BasicBlacklistAPI.Check should have comment or be unexported (golint)
    • Line 1058: warning: exported method BasicBlacklistAPI.Add should have comment or be unexported (golint)
    • Line 1063: warning: exported method BasicBlacklistAPI.Remove should have comment or be unexported (golint)
    • Line 1079: warning: exported method BasicBlacklistAPI.AddMaster should have comment or be unexported (golint)
    • Line 1084: warning: exported method BasicBlacklistAPI.RemoveMaster should have comment or be unexported (golint)
    • Line 1089: warning: exported method BasicBlacklistAPI.SetMarketAddress should have comment or be unexported (golint)
    • Line 1094: warning: exported type StandardTokenApi should have comment or be unexported (golint)
    • Line 1100: warning: exported function NewStandardToken should have comment or be unexported (golint)
    • Line 1118: warning: exported method StandardTokenApi.IncreaseApproval should have comment or be unexported (golint)
    • Line 1136: warning: exported method StandardTokenApi.DecreaseApproval should have comment or be unexported (golint)
    • Line 1154: warning: exported method StandardTokenApi.BalanceOf should have comment or be unexported (golint)
    • Line 1176: warning: exported method StandardTokenApi.AllowanceOf should have comment or be unexported (golint)
    • Line 1180: warning: exported method StandardTokenApi.ApproveAtLeast should have comment or be unexported (golint)
    • Line 1191: warning: exported method StandardTokenApi.Approve should have comment or be unexported (golint)
    • Line 1230: warning: exported method StandardTokenApi.Transfer should have comment or be unexported (golint)
    • Line 1246: warning: exported method StandardTokenApi.TransferFrom should have comment or be unexported (golint)
    • Line 1251: warning: exported method StandardTokenApi.TotalSupply should have comment or be unexported (golint)
    • Line 1255: warning: exported type BasicEventsAPI should have comment or be unexported (golint)
    • Line 1265: warning: exported type EventFilter should have comment or be unexported (golint)
    • Line 1276: warning: exported method EventFilter.WithEmitNoEvents should have comment or be unexported (golint)
    • Line 1281: warning: exported function NewEventsAPI should have comment or be unexported (golint)
    • Line 1300: warning: exported method BasicEventsAPI.GetMarketFilter should have comment or be unexported (golint)
    • Line 1338: warning: exported method BasicEventsAPI.GetMultiSigFilter should have comment or be unexported (golint)
    • Line 1362: warning: exported method BasicEventsAPI.GetLastBlock should have comment or be unexported (golint)
    • Line 1369: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 1374: warning: exported method BasicEventsAPI.GetEvents should have comment or be unexported (golint)
    • Line 1468: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 1758: warning: exported type OracleUSDAPI should have comment or be unexported (golint)
    • Line 1764: warning: exported function NewOracleUSDAPI should have comment or be unexported (golint)
    • Line 1783: warning: exported method OracleUSDAPI.GetOwner should have comment or be unexported (golint)
    • Line 1787: warning: exported method OracleUSDAPI.SetOwner should have comment or be unexported (golint)
    • Line 1801: warning: exported method OracleUSDAPI.SetCurrentPrice should have comment or be unexported (golint)
    • Line 1806: warning: exported method OracleUSDAPI.PackSetCurrentPriceTransactionData should have comment or be unexported (golint)
    • Line 1814: warning: exported method OracleUSDAPI.UnpackSetCurrentPriceTransactionData should have comment or be unexported (golint)
    • Line 1831: warning: exported method OracleUSDAPI.GetCurrentPrice should have comment or be unexported (golint)
    • Line 1835: warning: exported type BasicSimpleGatekeeper should have comment or be unexported (golint)
    • Line 1841: warning: exported function NewSimpleGatekeeper should have comment or be unexported (golint)
    • Line 1859: warning: exported method BasicSimpleGatekeeper.PayIn should have comment or be unexported (golint)
    • Line 1873: warning: exported method BasicSimpleGatekeeper.Payout should have comment or be unexported (golint)
    • Line 1878: warning: exported method BasicSimpleGatekeeper.Kill should have comment or be unexported (golint)
    • Line 1883: warning: exported type BasicMultiSigAPI should have comment or be unexported (golint)
    • Line 1890: warning: exported function NewMultiSigAPI should have comment or be unexported (golint)
    • Line 1909: warning: exported method BasicMultiSigAPI.AddOwner should have comment or be unexported (golint)
    • Line 1922: warning: exported method BasicMultiSigAPI.RemoveOwner should have comment or be unexported (golint)
    • Line 1935: warning: exported method BasicMultiSigAPI.ReplaceOwner should have comment or be unexported (golint)
    • Line 1948: warning: exported method BasicMultiSigAPI.ChangeRequirement should have comment or be unexported (golint)
    • Line 1961: warning: exported method BasicMultiSigAPI.SubmitTransaction should have comment or be unexported (golint)
    • Line 1975: warning: exported method BasicMultiSigAPI.ConfirmTransaction should have comment or be unexported (golint)
    • Line 1989: warning: exported method BasicMultiSigAPI.RevokeConfirmation should have comment or be unexported (golint)
    • Line 2003: warning: exported method BasicMultiSigAPI.ExecuteTransaction should have comment or be unexported (golint)
    • Line 2017: warning: exported method BasicMultiSigAPI.IsConfirmed should have comment or be unexported (golint)
    • Line 2021: warning: exported method BasicMultiSigAPI.GetConfirmationCount should have comment or be unexported (golint)
    • Line 2025: warning: exported method BasicMultiSigAPI.GetTransactionCount should have comment or be unexported (golint)
    • Line 2029: warning: exported method BasicMultiSigAPI.GetOwners should have comment or be unexported (golint)
    • Line 2033: warning: exported method BasicMultiSigAPI.GetConfirmations should have comment or be unexported (golint)
    • Line 2037: warning: exported method BasicMultiSigAPI.GetTransactionIDs should have comment or be unexported (golint)
    • Line 2041: warning: exported method BasicMultiSigAPI.GetTransaction should have comment or be unexported (golint)
    • core/util/config/retag.go
    • Line 14: warning: exported type SnakeCaseTagger should have comment or be unexported (golint)
    • Line 16: warning: exported method SnakeCaseTagger.MakeTag should have comment or be unexported (golint)
    • Line 64: warning: exported function SnakeToLower should have comment or be unexported (golint)
    • core/optimus/model.go
    • Line 9: warning: exported type RegressionModelFactory should have comment or be unexported (golint)
    • Line 23: warning: exported type TrainedModel should have comment or be unexported (golint)
    • core/insonmnia/dwh/processor.go
    • Line 21: warning: exported type L1Processor should have comment or be unexported (golint)
    • Line 33: warning: exported function NewL1Processor should have comment or be unexported (golint)
    • Line 43: warning: exported method L1Processor.Start should have comment or be unexported (golint)
    • Line 80: warning: exported method L1Processor.Stop should have comment or be unexported (golint)
    • core/insonmnia/worker/network/tc/class.go
    • Line 9: warning: exported type ClassAttrs should have comment or be unexported (golint)
    • Line 15: warning: exported type Class should have comment or be unexported (golint)
    • Line 24: warning: exported type HTBClass should have comment or be unexported (golint)
    • Line 30: warning: exported method HTBClass.Kind should have comment or be unexported (golint)
    • Line 34: warning: exported method HTBClass.Attrs should have comment or be unexported (golint)
    • Line 38: warning: exported method HTBClass.Cmd should have comment or be unexported (golint)
    • core/insonmnia/worker/network/tc/qdisc.go
    • Line 9: warning: exported type QDiscAttrs should have comment or be unexported (golint)
    • Line 32: warning: exported method PfifoQDisc.Type should have comment or be unexported (golint)
    • Line 36: warning: exported method PfifoQDisc.Attrs should have comment or be unexported (golint)
    • Line 40: warning: exported method PfifoQDisc.Cmd should have comment or be unexported (golint)
    • Line 49: warning: exported type Ingress should have comment or be unexported (golint)
    • Line 53: warning: exported method Ingress.Type should have comment or be unexported (golint)
    • Line 57: warning: exported method Ingress.Attrs should have comment or be unexported (golint)
    • Line 61: warning: exported method Ingress.Cmd should have comment or be unexported (golint)
    • Line 68: warning: exported type TFBQDisc should have comment or be unexported (golint)
    • Line 78: warning: exported method TFBQDisc.Type should have comment or be unexported (golint)
    • Line 82: warning: exported method TFBQDisc.Attrs should have comment or be unexported (golint)
    • Line 86: warning: exported method TFBQDisc.Cmd should have comment or be unexported (golint)
    • Line 97: warning: exported type HTBQDisc should have comment or be unexported (golint)
    • Line 101: warning: exported method HTBQDisc.Type should have comment or be unexported (golint)
    • Line 105: warning: exported method HTBQDisc.Attrs should have comment or be unexported (golint)
    • Line 109: warning: exported method HTBQDisc.Cmd should have comment or be unexported (golint)
    • core/proto/dwh.go
    • Line 5: warning: exported function NewBenchmarks should have comment or be unexported (golint)
    • Line 16: warning: exported method Benchmarks.ToArray should have comment or be unexported (golint)
    • core/proto/timestamp.go
    • Line 14: warning: exported function CurrentTimestamp should have comment or be unexported (golint)
    • Line 22: warning: exported method Timestamp.MarshalText should have comment or be unexported (golint)
    • Line 26: warning: exported method Timestamp.UnmarshalText should have comment or be unexported (golint)
    • core/insonmnia/sysinit/service.go
    • Line 24: warning: exported type Config should have comment or be unexported (golint)
    • Line 35: warning: exported type InitService should have comment or be unexported (golint)
    • Line 40: warning: exported function NewInitService should have comment or be unexported (golint)
    • Line 47: warning: exported method InitService.Reset should have comment or be unexported (golint)
    • Line 55: warning: exported method InitService.Mount should have comment or be unexported (golint)
    • Line 150: warning: exported type CreateEncryptedVolumeAction should have comment or be unexported (golint)
    • Line 157: warning: exported method CreateEncryptedVolumeAction.Execute should have comment or be unexported (golint)
    • Line 185: warning: exported method CreateEncryptedVolumeAction.Rollback should have comment or be unexported (golint)
    • Line 199: warning: exported type CreateMountPointAction should have comment or be unexported (golint)
    • Line 204: warning: exported method CreateMountPointAction.Execute should have comment or be unexported (golint)
    • Line 212: warning: exported method CreateMountPointAction.Rollback should have comment or be unexported (golint)
    • Line 220: warning: exported type CreateFileSystemAction should have comment or be unexported (golint)
    • Line 226: warning: exported method CreateFileSystemAction.Execute should have comment or be unexported (golint)
    • Line 266: warning: exported method CreateFileSystemAction.Rollback should have comment or be unexported (golint)
    • Line 307: warning: exported type MountDeviceMapperAction should have comment or be unexported (golint)
    • Line 314: warning: exported method MountDeviceMapperAction.Execute should have comment or be unexported (golint)
    • Line 322: warning: exported method MountDeviceMapperAction.Rollback should have comment or be unexported (golint)
    • Line 334: warning: exported type StartDockerAction should have comment or be unexported (golint)
    • Line 337: warning: exported method StartDockerAction.Execute should have comment or be unexported (golint)
    • Line 357: warning: exported method StartDockerAction.Rollback should have comment or be unexported (golint)
    • Line 377: warning: exported type FailAction should have comment or be unexported (golint)
    • Line 379: warning: exported method FailAction.Execute should have comment or be unexported (golint)
    • Line 383: warning: exported method FailAction.Rollback should have comment or be unexported (golint)
    • core/insonmnia/ssh/proxy.go
    • Line 36: warning: exported type NilSSHProxyServer should have comment or be unexported (golint)
    • Line 38: warning: exported method NilSSHProxyServer.Serve should have comment or be unexported (golint)
    • Line 42: warning: exported type SSHProxyServer should have comment or be unexported (golint)
    • core/insonmnia/npp/metrics.go
    • Line 13: warning: exported type ListenerMetrics should have comment or be unexported (golint)
    • Line 95: warning: exported type NamedMetric should have comment or be unexported (golint)
    • core/insonmnia/worker/salesman/salesman.go
    • Line 34: warning: exported type Config should have comment or be unexported (golint)
    • Line 46: warning: exported type YAMLConfig should have comment or be unexported (golint)
    • Line 55: warning: exported type Salesman should have comment or be unexported (golint)
    • Line 70: warning: exported function NewSalesman should have comment or be unexported (golint)
    • Line 102: warning: exported method Salesman.Close should have comment or be unexported (golint)
    • Line 106: warning: exported method Salesman.Run should have comment or be unexported (golint)
    • Line 124: warning: exported method Salesman.DebugDump should have comment or be unexported (golint)
    • Line 141: warning: exported method Salesman.ScheduleMaintenance should have comment or be unexported (golint)
    • Line 149: warning: exported method Salesman.NextMaintenance should have comment or be unexported (golint)
    • Line 155: warning: exported method Salesman.AskPlan should have comment or be unexported (golint)
    • Line 167: warning: exported method Salesman.AskPlans should have comment or be unexported (golint)
    • Line 173: warning: exported method Salesman.CreateAskPlan should have comment or be unexported (golint)
    • Line 209: warning: exported method Salesman.PurgeAskPlans should have comment or be unexported (golint)
    • Line 233: warning: exported method Salesman.RemoveAskPlan should have comment or be unexported (golint)
    • Line 282: warning: exported method Salesman.AskPlanByDeal should have comment or be unexported (golint)
    • Line 294: warning: exported method Salesman.Deal should have comment or be unexported (golint)
    • Line 306: warning: exported method Salesman.CGroup should have comment or be unexported (golint)
    • Line 316: warning: exported method Salesman.Network should have comment or be unexported (golint)
    • core/insonmnia/worker/network/tinc_network.go
    • Line 15: warning: comment on exported type IP4 should be of the form "IP4 ..." (with optional leading article) (golint)
    • Line 25: warning: exported method IP4.ToCommon should have comment or be unexported (golint)
    • Line 29: warning: exported method TincNetwork.Init should have comment or be unexported (golint)
    • Line 39: warning: exported method TincNetwork.Join should have comment or be unexported (golint)
    • Line 52: warning: exported method TincNetwork.Start should have comment or be unexported (golint)
    • Line 65: warning: exported method TincNetwork.Shutdown should have comment or be unexported (golint)
    • Line 70: warning: exported method TincNetwork.Stop should have comment or be unexported (golint)
    • Line 75: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 81: warning: exported method TincNetwork.Invite should have comment or be unexported (golint)
    • Line 87: warning: exported method TincNetwork.OccupiedIPs should have comment or be unexported (golint)
    • Line 166: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • core/optimus/options.go
    • Line 5: warning: exported type Option should have comment or be unexported (golint)
    • Line 19: warning: exported function WithVersion should have comment or be unexported (golint)
    • Line 25: warning: exported function WithLog should have comment or be unexported (golint)
    • core/cmd/pandora/ammo_dwh.go
    • Line 11: warning: exported type DWHOrdersAmmo should have comment or be unexported (golint)
    • Line 15: warning: exported method DWHOrdersAmmo.Type should have comment or be unexported (golint)
    • Line 19: warning: exported method DWHOrdersAmmo.Execute should have comment or be unexported (golint)
    • core/proto/rendezvous.go
    • Line 8: warning: exported const DefaultNPPProtocol should have comment (or a comment on this block) or be unexported (golint)
    • Line 11: warning: exported method PublishRequest.Validate should have comment or be unexported (golint)
    • Line 19: warning: exported method ConnectRequest.Validate should have comment or be unexported (golint)
    • Line 30: warning: exported method RendezvousReply.Empty should have comment or be unexported (golint)
    • Line 34: warning: exported method RendezvousReply.GetAddresses should have comment or be unexported (golint)
    • core/cmd/cli/config/config.go
    • Line 17: warning: exported const OutputModeSimple should have comment (or a comment on this block) or be unexported (golint)
    • Line 31: warning: exported function NewConfig should have comment or be unexported (golint)
    • Line 60: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 70: warning: exported method Config.Save should have comment or be unexported (golint)
    • Line 79: warning: exported method Config.OutputFormat should have comment or be unexported (golint)
    • Line 83: warning: exported method Config.PassPhrase should have comment or be unexported (golint)
    • Line 87: warning: exported method Config.KeyStore should have comment or be unexported (golint)
    • core/insonmnia/version/version.go
    • Line 31: warning: exported type Observer should have comment or be unexported (golint)
    • Line 37: warning: exported type LogObserver should have comment or be unexported (golint)
    • Line 41: warning: exported function NewLogObserver should have comment or be unexported (golint)
    • Line 47: warning: exported method LogObserver.OnError should have comment or be unexported (golint)
    • Line 51: warning: exported method LogObserver.OnDeprecatedVersion should have comment or be unexported (golint)
    • Line 55: warning: exported method LogObserver.OnBleedingEdgeVersion should have comment or be unexported (golint)
    • Line 119: warning: exported method VersionMismatchError.IsDeprecated should have comment or be unexported (golint)
    • Line 123: warning: exported method VersionMismatchError.IsBleedingEdge should have comment or be unexported (golint)
    • Line 318: warning: exported type VersionManager should have comment or be unexported (golint)
    • Line 326: warning: exported function NewVersionManager should have comment or be unexported (golint)
    • core/util/xnet/listener.go
    • Line 18: warning: exported type BackPressureListener should have comment or be unexported (golint)
    • Line 24: warning: exported method BackPressureListener.Accept should have comment or be unexported (golint)
    • Line 48: warning: comment on exported function ListenLoopback should be of the form "ListenLoopback ..." (golint)
    • Line 81: warning: exported function ListenPacketLoopback should have comment or be unexported (golint)
    • core/connor/antifraud/config.go
    • Line 10: warning: exported type ProcessorConfig should have comment or be unexported (golint)
    • Line 17: warning: exported type LogProcessorConfig should have comment or be unexported (golint)
    • Line 25: warning: exported type PoolProcessorConfig should have comment or be unexported (golint)
    • Line 30: warning: exported type Config should have comment or be unexported (golint)
    • Line 40: warning: exported method Config.Validate should have comment or be unexported (golint)
    • core/connor/types/deal.go
    • Line 9: warning: exported type DealFactory should have comment or be unexported (golint)
    • Line 13: warning: exported function NewDealFactory should have comment or be unexported (golint)
    • Line 28: warning: exported type Deal should have comment or be unexported (golint)
    • Line 33: warning: exported method Deal.BenchmarkValue should have comment or be unexported (golint)
    • Line 41: warning: exported method Deal.RestorePrice should have comment or be unexported (golint)
    • Line 54: warning: exported method Deal.IsReplaceable should have comment or be unexported (golint)
    • core/util/rest/errors.go
    • Line 10: warning: exported function HTTPStatusFromError should have comment or be unexported (golint)
    • Line 24: warning: exported function HTTPStatusFromCode should have comment or be unexported (golint)
    • core/insonmnia/worker/volume/serve.go
    • Line 27: warning: exported type VolumeServer should have comment or be unexported (golint)
    • Line 33: warning: exported function NewVolumeServer should have comment or be unexported (golint)
    • Line 59: warning: exported method VolumeServer.Serve should have comment or be unexported (golint)
    • Line 66: warning: exported method VolumeServer.Close should have comment or be unexported (golint)
    • core/secsh/banner.go
    • Line 16: warning: exported type Banner should have comment or be unexported (golint)
    • Line 20: warning: exported function NewBanner should have comment or be unexported (golint)
    • Line 112: warning: exported method Banner.AddLine should have comment or be unexported (golint)
    • core/insonmnia/worker/network/l2tp_ipam.go
    • Line 18: warning: exported type IPAMDriver should have comment or be unexported (golint)
    • Line 24: warning: exported function NewIPAMDriver should have comment or be unexported (golint)
    • Line 31: warning: exported method IPAMDriver.RequestPool should have comment or be unexported (golint)
    • Line 57: warning: exported method IPAMDriver.RequestAddress should have comment or be unexported (golint)
    • Line 141: warning: exported method IPAMDriver.ReleasePool should have comment or be unexported (golint)
    • Line 168: warning: exported method IPAMDriver.ReleaseAddress should have comment or be unexported (golint)
    • Line 173: warning: exported method IPAMDriver.GetCapabilities should have comment or be unexported (golint)
    • Line 178: warning: exported method IPAMDriver.GetDefaultAddressSpaces should have comment or be unexported (golint)
    • core/insonmnia/logging/config.go
    • Line 6: warning: exported const StdoutLogOutput should have comment (or a comment on this block) or be unexported (golint)
    • Line 16: warning: exported method Config.LogLevel should have comment or be unexported (golint)
    • core/blockchain/types.go
    • Line 12: warning: exported type Event should have comment or be unexported (golint)
    • Line 20: warning: exported method Event.PrecedesOrEquals should have comment or be unexported (golint)
    • Line 38: warning: exported type NoEventsData should have comment or be unexported (golint)
    • Line 40: warning: exported type DealOpenedData should have comment or be unexported (golint)
    • Line 44: warning: exported type DealUpdatedData should have comment or be unexported (golint)
    • Line 48: warning: exported type DealChangeRequestSentData should have comment or be unexported (golint)
    • Line 52: warning: exported type DealChangeRequestUpdatedData should have comment or be unexported (golint)
    • Line 56: warning: exported type OrderPlacedData should have comment or be unexported (golint)
    • Line 60: warning: exported type OrderUpdatedData should have comment or be unexported (golint)
    • Line 64: warning: exported type BilledData should have comment or be unexported (golint)
    • Line 69: warning: exported type WorkerAnnouncedData should have comment or be unexported (golint)
    • Line 74: warning: exported type WorkerConfirmedData should have comment or be unexported (golint)
    • Line 79: warning: exported type WorkerRemovedData should have comment or be unexported (golint)
    • Line 84: warning: exported type ErrorData should have comment or be unexported (golint)
    • Line 89: warning: exported type AddedToBlacklistData should have comment or be unexported (golint)
    • Line 94: warning: exported type RemovedFromBlacklistData should have comment or be unexported (golint)
    • Line 99: warning: exported type ValidatorCreatedData should have comment or be unexported (golint)
    • Line 103: warning: exported type ValidatorDeletedData should have comment or be unexported (golint)
    • Line 107: warning: exported type CertificateCreatedData should have comment or be unexported (golint)
    • Line 111: warning: exported type CertificateUpdatedData should have comment or be unexported (golint)
    • Line 115: warning: exported type NumBenchmarksUpdatedData should have comment or be unexported (golint)
    • Line 119: warning: exported type MultiSigTransactionData should have comment or be unexported (golint)
    • Line 126: warning: exported type ConfirmationData should have comment or be unexported (golint)
    • Line 131: warning: exported type RevocationData should have comment or be unexported (golint)
    • Line 136: warning: exported type SubmissionData should have comment or be unexported (golint)
    • Line 140: warning: exported type ExecutionData should have comment or be unexported (golint)
    • Line 144: warning: exported type ExecutionFailureData should have comment or be unexported (golint)
    • Line 148: warning: exported type OwnerAdditionData should have comment or be unexported (golint)
    • Line 152: warning: exported type OwnerRemovalData should have comment or be unexported (golint)
    • Line 156: warning: exported type SimpleGateTransaction should have comment or be unexported (golint)
    • Line 162: warning: exported type Balance should have comment or be unexported (golint)
    • Line 167: warning: exported type GasPrice should have comment or be unexported (golint)
    • Line 171: warning: exported method GasPrice.UnmarshalText should have comment or be unexported (golint)
    • core/insonmnia/worker/network/tc/filter.go
    • Line 10: warning: exported const Continue should have comment (or a comment on this block) or be unexported (golint)
    • Line 17: warning: comment on exported const EgressRedir should be of the form "EgressRedir ..." (golint)
    • Line 24: warning: exported type ConformExceed should have comment or be unexported (golint)
    • Line 45: warning: exported type Action should have comment or be unexported (golint)
    • Line 52: warning: exported type PoliceAction should have comment or be unexported (golint)
    • Line 69: warning: exported method PoliceAction.Kind should have comment or be unexported (golint)
    • Line 73: warning: exported method PoliceAction.Cmd should have comment or be unexported (golint)
    • Line 91: warning: exported type MirredActionType should have comment or be unexported (golint)
    • Line 115: warning: exported method MirredAction.Kind should have comment or be unexported (golint)
    • Line 119: warning: exported method MirredAction.Cmd should have comment or be unexported (golint)
    • Line 127: warning: comment on exported type FilterAttrs should be of the form "FilterAttrs ..." (with optional leading article) (golint)
    • Line 135: warning: exported type Filter should have comment or be unexported (golint)
    • Line 153: warning: exported method U32.Kind should have comment or be unexported (golint)
    • Line 157: warning: exported method U32.Attrs should have comment or be unexported (golint)
    • Line 161: warning: exported method U32.Cmd should have comment or be unexported (golint)
    • Line 181: warning: exported type U32Key should have comment or be unexported (golint)
    • core/util/netutil/net.go
    • Line 36: warning: exported function ExtractHost should have comment or be unexported (golint)
    • Line 41: warning: exported function ExtractPort should have comment or be unexported (golint)
    • Line 52: warning: exported method TCPAddr.UnmarshalYAML should have comment or be unexported (golint)
    • Line 67: warning: exported function GetPublicIPs should have comment or be unexported (golint)
    • Line 83: warning: exported function GetAvailableIPs should have comment or be unexported (golint)
    • Line 114: warning: exported function IsPrivateIP should have comment or be unexported (golint)
    • Line 136: warning: exported function LookupTCPHostPort should have comment or be unexported (golint)
    • Line 160: warning: exported function SortedIPs should have comment or be unexported (golint)
    • Line 202: warning: exported function IsIPv4 should have comment or be unexported (golint)
    • core/insonmnia/worker/network/tinc_driver.go
    • Line 18: warning: exported function NewTinc should have comment or be unexported (golint)
    • Line 36: warning: exported type TincNetwork should have comment or be unexported (golint)
    • Line 51: warning: exported type TincNetworkDriver should have comment or be unexported (golint)
    • Line 56: warning: exported method TincNetworkDriver.GetCapabilities should have comment or be unexported (golint)
    • Line 64: warning: exported method TincNetworkDriver.CreateNetwork should have comment or be unexported (golint)
    • Line 88: warning: exported method TincNetworkDriver.AllocateNetwork should have comment or be unexported (golint)
    • Line 105: warning: exported method TincNetworkDriver.DeleteNetwork should have comment or be unexported (golint)
    • Line 117: warning: exported method TincNetworkDriver.FreeNetwork should have comment or be unexported (golint)
    • Line 122: warning: exported method TincNetworkDriver.CreateEndpoint should have comment or be unexported (golint)
    • Line 138: warning: exported method TincNetworkDriver.DeleteEndpoint should have comment or be unexported (golint)
    • Line 151: warning: exported method TincNetworkDriver.EndpointInfo should have comment or be unexported (golint)
    • Line 157: warning: exported method TincNetworkDriver.Join should have comment or be unexported (golint)
    • Line 168: warning: exported method TincNetworkDriver.Leave should have comment or be unexported (golint)
    • Line 173: warning: exported method TincNetworkDriver.DiscoverNew should have comment or be unexported (golint)
    • Line 178: warning: exported method TincNetworkDriver.DiscoverDelete should have comment or be unexported (golint)
    • Line 183: warning: exported method TincNetworkDriver.ProgramExternalConnectivity should have comment or be unexported (golint)
    • Line 188: warning: exported method TincNetworkDriver.RevokeExternalConnectivity should have comment or be unexported (golint)
    • Line 193: warning: exported method TincNetworkDriver.HasNetwork should have comment or be unexported (golint)
    • Line 200: warning: exported method TincNetworkDriver.GenerateInvitation should have comment or be unexported (golint)
    • core/insonmnia/worker/network/tinc_state.go
    • Line 23: warning: exported type TincNetworkState should have comment or be unexported (golint)
    • Line 68: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 73: warning: exported method TincNetworkState.InsertTincNetwork should have comment or be unexported (golint)
    • core/insonmnia/oracle/oracle.go
    • Line 22: warning: exported type Oracle should have comment or be unexported (golint)
    • Line 32: warning: exported function NewOracle should have comment or be unexported (golint)
    • Line 143: warning: exported method Oracle.Serve should have comment or be unexported (golint)
    • Line 197: warning: exported method Oracle.SetPrice should have comment or be unexported (golint)
    • core/insonmnia/node/server.go
    • Line 22: warning: exported type LocalEndpoints should have comment or be unexported (golint)
    • Line 83: warning: exported type Services should have comment or be unexported (golint)
    • Line 91: warning: exported type SSHServer should have comment or be unexported (golint)
    • Line 209: warning: exported method Server.LocalEndpoints should have comment or be unexported (golint)
    • core/proto/ask_plan.go
    • Line 17: warning: exported const MinCPUPercent should have comment (or a comment on this block) or be unexported (golint)
    • Line 22: warning: exported method AskPlanCPU.MarshalYAML should have comment or be unexported (golint)
    • Line 29: warning: exported method AskPlanCPU.UnmarshalYAML should have comment or be unexported (golint)
    • Line 46: warning: exported method AskPlan.Validate should have comment or be unexported (golint)
    • Line 65: warning: exported method AskPlan.UnsoldDuration should have comment or be unexported (golint)
    • Line 75: warning: exported method AskPlan.IsSpot should have comment or be unexported (golint)
    • Line 79: warning: exported function NewEmptyAskPlanResources should have comment or be unexported (golint)
    • Line 123: warning: exported method AskPlanResources.Add should have comment or be unexported (golint)
    • Line 137: warning: exported method AskPlanResources.Sub should have comment or be unexported (golint)
    • Line 152: warning: comment on exported method AskPlanResources.SubAtMost should be of the form "SubAtMost ..." (golint)
    • Line 170: warning: exported method AskPlanResources.ToHostConfigResources should have comment or be unexported (golint)
    • Line 180: warning: exported method AskPlanResources.ToCgroupResources should have comment or be unexported (golint)
    • Line 196: warning: exported method AskPlanResources.CPUQuota should have comment or be unexported (golint)
    • Line 203: warning: exported method AskPlanResources.Eq should have comment or be unexported (golint)
    • Line 210: warning: exported method AskPlanResources.CheckContains should have comment or be unexported (golint)
    • Line 242: warning: exported method AskPlanGPU.Validate should have comment or be unexported (golint)
    • Line 249: warning: exported type GPUHasher should have comment or be unexported (golint)
    • Line 253: warning: exported type AskPlanHasher should have comment or be unexported (golint)
    • Line 257: warning: exported method AskPlanHasher.HashGPU should have comment or be unexported (golint)
    • Line 269: warning: exported method AskPlanGPU.Normalize should have comment or be unexported (golint)
    • Line 285: warning: exported method AskPlanGPU.Normalized should have comment or be unexported (golint)
    • Line 292: warning: exported method AskPlanGPU.Add should have comment or be unexported (golint)
    • Line 305: warning: exported method AskPlanGPU.Sub should have comment or be unexported (golint)
    • Line 312: warning: exported method AskPlanGPU.SubAtMost should have comment or be unexported (golint)
    • Line 325: warning: exported method AskPlanGPU.Contains should have comment or be unexported (golint)
    • Line 356: warning: exported method AskPlanNetwork.UnmarshalYAML should have comment or be unexported (golint)
    • Line 381: warning: exported function SumPrice should have comment or be unexported (golint)
    • core/util/rest/server.go
    • Line 22: warning: exported type Method should have comment or be unexported (golint)
    • Line 29: warning: exported type Service should have comment or be unexported (golint)
    • Line 40: warning: exported type Server should have comment or be unexported (golint)
    • Line 49: warning: exported function NewServer should have comment or be unexported (golint)
    • Line 63: warning: exported method Server.Services should have comment or be unexported (golint)
    • Line 72: warning: exported method Server.RegisterService should have comment or be unexported (golint)
    • Line 206: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 224: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 228: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 252: warning: exported method Server.Serve should have comment or be unexported (golint)
    • Line 269: warning: exported method Server.Close should have comment or be unexported (golint)
    • core/optimus/market.go
    • Line 15: warning: exported type MarketOrder should have comment or be unexported (golint)
    • Line 17: warning: exported type DealRequestFactory should have comment or be unexported (golint)
    • Line 18: warning: exported type OrderRequestFactory should have comment or be unexported (golint)
    • Line 20: warning: exported function DefaultDealRequestFactory should have comment or be unexported (golint)
    • Line 30: warning: exported function DefaultOrderRequestFactory should have comment or be unexported (golint)
    • core/blockchain/unit.go
    • Line 9: warning: exported type Unit should have comment or be unexported (golint)
    • Line 14: warning: exported var Wei should have comment or be unexported (golint)
    • Line 26: warning: exported function UnitFromString should have comment or be unexported (golint)
    • core/insonmnia/structs/image.go
    • Line 12: warning: exported type ImagePush should have comment or be unexported (golint)
    • Line 28: warning: exported function RequireHeaderInt64 should have comment or be unexported (golint)
    • Line 42: warning: exported function NewImagePush should have comment or be unexported (golint)
    • Line 61: warning: exported method ImagePush.DealId should have comment or be unexported (golint)
    • Line 65: warning: exported method ImagePush.ImageSize should have comment or be unexported (golint)
    • core/optimus/optimus.go
    • Line 16: warning: exported type Optimus should have comment or be unexported (golint)
    • Line 22: warning: exported function NewOptimus should have comment or be unexported (golint)
    • Line 39: warning: exported method Optimus.Run should have comment or be unexported (golint)
    • core/insonmnia/matcher/matcher.go
    • Line 19: warning: exported type Matcher should have comment or be unexported (golint)
    • Line 30: warning: exported type Config should have comment or be unexported (golint)
    • Line 66: warning: exported function NewMatcher should have comment or be unexported (golint)
    • core/connor/config.go
    • Line 67: warning: exported type Config should have comment or be unexported (golint)
    • Line 129: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 173: warning: exported function NewConfig should have comment or be unexported (golint)
    • core/insonmnia/dwh/config.go
    • Line 13: warning: exported type DWHConfig should have comment or be unexported (golint)
    • Line 30: warning: exported type YAMLConfig should have comment or be unexported (golint)
    • Line 34: warning: exported function NewDWHConfig should have comment or be unexported (golint)
    • Line 48: warning: exported type L1ProcessorConfig should have comment or be unexported (golint)
    • core/util/defergroup/mod.go
    • Line 3: warning: comment on exported type DeferGroup should be of the form "DeferGroup ..." (with optional leading article) (golint)
    • Line 26: warning: exported method DeferGroup.Defer should have comment or be unexported (golint)
    • Line 30: warning: exported method DeferGroup.Exec should have comment or be unexported (golint)
    • Line 40: warning: exported method DeferGroup.CancelExec should have comment or be unexported (golint)
    • core/proto/worker.go
    • Line 8: warning: exported const MetricsKeyDiskFree should have comment (or a comment on this block) or be unexported (golint)
    • Line 21: warning: exported method TaskTag.MarshalYAML should have comment or be unexported (golint)
    • Line 31: warning: exported method TaskTag.UnmarshalYAML should have comment or be unexported (golint)
    • Line 43: warning: exported method WorkerMetricsResponse.Append should have comment or be unexported (golint)
    • Line 57: warning: exported function IsTaskStatusTerminated should have comment or be unexported (golint)
    • core/util/xgrpc/method.go
    • Line 7: warning: exported type MethodInfo should have comment or be unexported (golint)
    • Line 12: warning: exported method MethodInfo.IntoTuple should have comment or be unexported (golint)
    • Line 16: warning: exported function ParseMethodInfo should have comment or be unexported (golint)
    • core/optimus/predictor_service.go
    • Line 13: warning: exported method PredictorService.Predict should have comment or be unexported (golint)
    • Line 62: warning: exported method PredictorService.PredictSupplier should have comment or be unexported (golint)
    • core/optimus/worker.go
    • Line 63: warning: exported type WorkerManagementClientAPI should have comment or be unexported (golint)
    • Line 161: warning: exported function NewReadOnlyWorker should have comment or be unexported (golint)
    • Line 169: warning: exported method ReadOnlyWorker.CreateAskPlan should have comment or be unexported (golint)
    • Line 173: warning: exported method ReadOnlyWorker.AskPlans should have comment or be unexported (golint)
    • Line 195: warning: exported method ReadOnlyWorker.RemoveAskPlan should have comment or be unexported (golint)
    • Line 204: warning: exported method ReadOnlyWorker.PurgeAskPlans should have comment or be unexported (golint)
    • Line 208: warning: exported method ReadOnlyWorker.ScheduleMaintenance should have comment or be unexported (golint)
    • Line 212: warning: exported method ReadOnlyWorker.RemoveBenchmark should have comment or be unexported (golint)
    • Line 216: warning: exported method ReadOnlyWorker.PurgeBenchmarks should have comment or be unexported (golint)
    • core/insonmnia/worker/metrics/metrics.go
    • Line 19: warning: exported type Handler should have comment or be unexported (golint)
    • Line 29: warning: exported function NewHandler should have comment or be unexported (golint)
    • Line 57: warning: exported method Handler.Run should have comment or be unexported (golint)
    • Line 178: warning: exported method Handler.Get should have comment or be unexported (golint)
    • Line 185: warning: exported method Handler.Close should have comment or be unexported (golint)
    • core/insonmnia/dwh/processor_test.go
    • Line 17: warning: don't use underscores in Go names; func testDWH_L1Processor should be testDWHL1Processor (golint)
    • Line 161: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 176: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 185: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 200: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 216: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 236: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 253: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 272: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 290: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 309: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 362: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 379: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 397: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 430: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 479: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 494: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 509: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 525: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 538: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • Line 572: warning: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (golint)
    • core/insonmnia/worker/volume/btfs.go
    • Line 22: warning: exported const BTFSDriverName should have comment (or a comment on this block) or be unexported (golint)
    • Line 27: warning: exported type BTFSDriver should have comment or be unexported (golint)
    • Line 32: warning: exported function NewBTFSDriver should have comment or be unexported (golint)
    • Line 58: warning: exported method BTFSDriver.CreateVolume should have comment or be unexported (golint)
    • Line 64: warning: exported method BTFSDriver.RemoveVolume should have comment or be unexported (golint)
    • Line 69: warning: exported method BTFSDriver.Close should have comment or be unexported (golint)
    • Line 73: warning: exported type BTFSVolume should have comment or be unexported (golint)
    • Line 77: warning: exported method BTFSVolume.Configure should have comment or be unexported (golint)
    • Line 124: warning: exported type BTFSDockerVolume should have comment or be unexported (golint)
    • Line 144: warning: exported function NewBTFSDockerDriver should have comment or be unexported (golint)
    • Line 161: warning: exported method BTFSDockerDriver.Create should have comment or be unexported (golint)
    • Line 184: warning: exported method BTFSDockerDriver.List should have comment or be unexported (golint)
    • Line 202: warning: exported method BTFSDockerDriver.Get should have comment or be unexported (golint)
    • Line 216: warning: exported method BTFSDockerDriver.Remove should have comment or be unexported (golint)
    • Line 231: warning: exported method BTFSDockerDriver.Path should have comment or be unexported (golint)
    • Line 244: warning: exported method BTFSDockerDriver.Mount should have comment or be unexported (golint)
    • Line 327: warning: exported method BTFSDockerDriver.Unmount should have comment or be unexported (golint)
    • Line 359: warning: exported method BTFSDockerDriver.Capabilities should have comment or be unexported (golint)
    • core/insonmnia/worker/network/tinc_ipam.go
    • Line 16: warning: exported type TincIPAMDriver should have comment or be unexported (golint)
    • Line 21: warning: exported function NewTincIPAMDriver should have comment or be unexported (golint)
    • Line 28: warning: exported method TincIPAMDriver.GetCapabilities should have comment or be unexported (golint)
    • Line 33: warning: exported method TincIPAMDriver.GetDefaultAddressSpaces should have comment or be unexported (golint)
    • Line 38: warning: exported method TincIPAMDriver.RequestPool should have comment or be unexported (golint)
    • Line 52: warning: exported method TincIPAMDriver.ReleasePool should have comment or be unexported (golint)
    • Line 57: warning: exported method TincIPAMDriver.RequestAddress should have comment or be unexported (golint)
    • Line 105: warning: exported method TincIPAMDriver.ReleaseAddress should have comment or be unexported (golint)
    • core/util/grpc.go
    • Line 4: warning: exported const WorkerAddressHeader should have comment (or a comment on this block) or be unexported (golint)
    • core/optimus/knapsack.go
    • Line 7: warning: exported type Knapsack should have comment or be unexported (golint)
    • Line 12: warning: exported function NewKnapsack should have comment or be unexported (golint)
    • Line 18: warning: exported method Knapsack.Clone should have comment or be unexported (golint)
    • Line 28: warning: exported method Knapsack.Put should have comment or be unexported (golint)
    • Line 46: warning: exported method Knapsack.Price should have comment or be unexported (golint)
    • Line 50: warning: exported method Knapsack.PPSf64 should have comment or be unexported (golint)
    • Line 54: warning: exported method Knapsack.Plans should have comment or be unexported (golint)
    • core/util/datasize/datasize.go
    • Line 12: warning: exported type ByteSize should have comment or be unexported (golint)
    • Line 16: warning: exported type BitRate should have comment or be unexported (golint)
    • Line 21: warning: exported const B should have comment (or a comment on this block) or be unexported (golint)
    • Line 61: warning: exported type Dimension should have comment or be unexported (golint)
    • Line 257: warning: exported method BitRate.UnmarshalText should have comment or be unexported (golint)
    • Line 274: warning: exported method BitRate.MarshalText should have comment or be unexported (golint)
    • Line 279: warning: exported method BitRate.HumanReadable should have comment or be unexported (golint)
    • Line 283: warning: exported method BitRate.HumanReadableDec should have comment or be unexported (golint)
    • Line 287: warning: exported method BitRate.HumanReadableBin should have comment or be unexported (golint)
    • Line 291: warning: exported method ByteSize.UnmarshalText should have comment or be unexported (golint)
    • Line 302: warning: exported method ByteSize.MarshalText should have comment or be unexported (golint)
    • Line 307: warning: exported method ByteSize.HumanReadable should have comment or be unexported (golint)
    • Line 311: warning: exported method ByteSize.HumanReadableDec should have comment or be unexported (golint)
    • Line 315: warning: exported method ByteSize.HumanReadableBin should have comment or be unexported (golint)
    • Line 319: warning: exported method ByteSize.Bytes should have comment or be unexported (golint)
    • Line 319: warning: receiver name b should be consistent with previous receiver name d for ByteSize (golint)
    • Line 323: warning: exported function NewByteSize should have comment or be unexported (golint)
    • Line 327: warning: exported function NewBitRate should have comment or be unexported (golint)
    • core/optimus/config.go
    • Line 23: warning: exported type OptimizationConfig should have comment or be unexported (golint)
    • Line 27: warning: exported type Config should have comment or be unexported (golint)
    • Line 39: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 48: warning: exported function LoadConfig should have comment or be unexported (golint)
    • Line 65: warning: exported type RestrictionsConfig should have comment or be unexported (golint)
    • core/insonmnia/worker/network/tc/tc.go
    • Line 9: warning: exported const TCActionAdd should have comment (or a comment on this block) or be unexported (golint)
    • Line 19: warning: exported type TC should have comment or be unexported (golint)
    • Line 29: warning: exported type CmdTC should have comment or be unexported (golint)
    • Line 33: warning: exported function NewCmdTC should have comment or be unexported (golint)
    • Line 46: warning: exported method CmdTC.QDiscAdd should have comment or be unexported (golint)
    • Line 51: warning: exported method CmdTC.QDiscDel should have comment or be unexported (golint)
    • Line 56: warning: exported method CmdTC.ClassAdd should have comment or be unexported (golint)
    • Line 61: warning: exported method CmdTC.ClassDel should have comment or be unexported (golint)
    • Line 66: warning: exported method CmdTC.FilterAdd should have comment or be unexported (golint)
    • Line 71: warning: exported method CmdTC.FilterDel should have comment or be unexported (golint)
    • Line 76: warning: exported method CmdTC.Close should have comment or be unexported (golint)
    • core/util/xgrpc/options.go
    • Line 38: warning: exported type ServerOption should have comment or be unexported (golint)
    • Line 40: warning: exported function GRPCServerOptions should have comment or be unexported (golint)
    • Line 60: warning: exported function TraceInterceptor should have comment or be unexported (golint)
    • Line 81: warning: exported function DefaultTraceInterceptor should have comment or be unexported (golint)
    • Line 92: warning: comment on exported function StreamServerInterceptor should be of the form "StreamServerInterceptor ..." (golint)
    • Line 173: warning: exported function OpenTracingZapUnaryInterceptor should have comment or be unexported (golint)
    • Line 242: warning: exported function AuthorizationInterceptor should have comment or be unexported (golint)
    • Line 268: warning: exported function VerifyUnaryInterceptor should have comment or be unexported (golint)
    • Line 315: warning: exported function RequestLogUnaryInterceptor should have comment or be unexported (golint)
    • core/insonmnia/auth/addr.go
    • Line 48: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 76: warning: exported method Addr.ETH should have comment or be unexported (golint)
    • Line 84: warning: exported method Addr.Addr should have comment or be unexported (golint)
    • Line 104: warning: exported method Addr.MarshalText should have comment or be unexported (golint)
    • Line 108: warning: exported method Addr.UnmarshalYAML should have comment or be unexported (golint)
    • core/optimus/learning.go
    • Line 15: warning: exported type WeightedOrder should have comment or be unexported (golint)
    • Line 30: warning: exported method WeightedOrder.ID should have comment or be unexported (golint)
    • Line 34: warning: exported type OrderPredictor should have comment or be unexported (golint)
    • Line 40: warning: exported method OrderPredictor.PredictPrice should have comment or be unexported (golint)
    • Line 77: warning: exported method OrderClassification.RecalculateWeightsAndSort should have comment or be unexported (golint)
    • Line 82: warning: comment on exported type OrderClassifier should be of the form "OrderClassifier ..." (with optional leading article) (golint)
    • Line 208: warning: exported function SortOrders should have comment or be unexported (golint)
    • core/optimus/engine_genetic.go
    • Line 36: warning: exported method Orders.Dedup should have comment or be unexported (golint)
    • Line 63: warning: exported type NewGenomeLab should have comment or be unexported (golint)
    • Line 65: warning: exported function NewPackedOrdersNewGenome should have comment or be unexported (golint)
    • Line 178: warning: exported type DecisionVec should have comment or be unexported (golint)
    • Line 180: warning: exported method DecisionVec.Clone should have comment or be unexported (golint)
    • Line 191: warning: exported function NewDecisionOrdersNewGenome should have comment or be unexported (golint)
    • Line 278: warning: exported type GenomeConfig should have comment or be unexported (golint)
    • Line 283: warning: exported method GenomeConfig.MarshalText should have comment or be unexported (golint)
    • Line 287: warning: exported method GenomeConfig.UnmarshalYAML should have comment or be unexported (golint)
    • Line 307: warning: exported type GeneticModelConfig should have comment or be unexported (golint)
    • Line 314: warning: exported type GeneticModelFactory should have comment or be unexported (golint)
    • Line 318: warning: exported method GeneticModelFactory.Config should have comment or be unexported (golint)
    • Line 322: warning: exported method GeneticModelFactory.Create should have comment or be unexported (golint)
    • Line 332: warning: exported type GeneticModel should have comment or be unexported (golint)
    • Line 344: warning: exported method GeneticModel.ShouldEvolve should have comment or be unexported (golint)
    • Line 348: warning: exported method GeneticModel.Optimize should have comment or be unexported (golint)
    • core/optimus/price.go
    • Line 14: warning: exported type PriceThreshold should have comment or be unexported (golint)
    • Line 20: warning: exported type RelativePriceThreshold should have comment or be unexported (golint)
    • Line 24: warning: exported function NewRelativePriceThreshold should have comment or be unexported (golint)
    • Line 36: warning: exported function ParseRelativePriceThreshold should have comment or be unexported (golint)
    • Line 54: warning: exported method RelativePriceThreshold.Exceeds should have comment or be unexported (golint)
    • Line 63: warning: exported type AbsolutePriceThreshold should have comment or be unexported (golint)
    • Line 67: warning: exported function NewAbsolutePriceThreshold should have comment or be unexported (golint)
    • Line 79: warning: exported function ParseAbsolutePriceThreshold should have comment or be unexported (golint)
    • Line 88: warning: exported method AbsolutePriceThreshold.Exceeds should have comment or be unexported (golint)
    • core/insonmnia/logging/watcher.go
    • Line 56: warning: exported type WatcherCore should have comment or be unexported (golint)
    • Line 63: warning: exported function NewWatcherCore should have comment or be unexported (golint)
    • Line 70: warning: exported method WatcherCore.With should have comment or be unexported (golint)
    • Line 83: warning: exported method WatcherCore.Check should have comment or be unexported (golint)
    • Line 98: warning: exported method WatcherCore.Subscribe should have comment or be unexported (golint)
    • Line 102: warning: exported method WatcherCore.Unsubscribe should have comment or be unexported (golint)
    • core/connor/types/corder.go
    • Line 18: warning: exported type CorderFactory should have comment or be unexported (golint)
    • Line 24: warning: exported function NewCorderFactory should have comment or be unexported (golint)
    • Line 67: warning: exported type Corder should have comment or be unexported (golint)
    • Line 72: warning: exported method Corder.GetHashrate should have comment or be unexported (golint)
    • Line 76: warning: exported method Corder.AsBID should have comment or be unexported (golint)
    • Line 94: warning: exported method Corder.RestorePrice should have comment or be unexported (golint)
    • Line 111: warning: exported method Corder.IsReplaceable should have comment or be unexported (golint)
    • Line 118: warning: exported method Corder.Hash should have comment or be unexported (golint)
    • Line 132: warning: exported type CorderCancelTuple should have comment or be unexported (golint)
    • Line 137: warning: exported method CorderCancelTuple.WithIncreasedDelay should have comment or be unexported (golint)
    • Line 145: warning: exported function NewCorderCancelTuple should have comment or be unexported (golint)
    • core/optimus/model_nnls.go
    • Line 19: warning: exported type SCAKKTModel should have comment or be unexported (golint)
    • Line 24: warning: exported method SCAKKTModel.Config should have comment or be unexported (golint)
    • Line 28: warning: exported method SCAKKTModel.Create should have comment or be unexported (golint)
    • Line 35: warning: exported method SCAKKTModel.Train should have comment or be unexported (golint)
    • Line 72: warning: exported type TrainedSCAKKTModel should have comment or be unexported (golint)
    • Line 77: warning: exported method TrainedSCAKKTModel.Predict should have comment or be unexported (golint)
    • core/optimus/normalize.go
    • Line 10: warning: exported var ErrDegenerateVector should have comment or be unexported (golint)
    • Line 13: warning: exported type Normalizer should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign98%

IneffAssign detects ineffectual assignments in Go code.

    • core/insonmnia/dwh/sql.go
    • Line 719: warning: ineffectual assignment to err (ineffassign)
    • Line 736: warning: ineffectual assignment to err (ineffassign)
    • Line 743: warning: ineffectual assignment to err (ineffassign)
    • Line 750: warning: ineffectual assignment to err (ineffassign)
    • Line 757: warning: ineffectual assignment to err (ineffassign)
    • Line 764: warning: ineffectual assignment to err (ineffassign)
    • Line 771: warning: ineffectual assignment to err (ineffassign)
    • Line 797: warning: ineffectual assignment to err (ineffassign)
    • Line 804: warning: ineffectual assignment to err (ineffassign)

misspell97%

Misspell Finds commonly misspelled English words

    • core/proto/worker_test.go
    • Line 29: warning: "reciever" is a misspelling of "receiver" (misspell)
    • Line 30: warning: "reciever" is a misspelling of "receiver" (misspell)
    • Line 37: warning: "reciever" is a misspelling of "receiver" (misspell)