Preparing report...

Report for github.com/netsec-ethz/scion

A+    Excellent!    Found 277 issues across 970 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!


gocyclo97%

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.

    • scion/go/pkg/router/dataplane.go
    • Line 1423: warning: cyclomatic complexity 19 of function (scmpPacker).prepareSCMP() is high (> 15) (gocyclo)
    • Line 1167: warning: cyclomatic complexity 18 of function (*scionPacketProcessor).process() is high (> 15) (gocyclo)
    • Line 437: warning: cyclomatic complexity 17 of function (*DataPlane).Run() is high (> 15) (gocyclo)

golint73%

Golint is a linter for Go source code.

    • scion/go/lib/ctrl/colibri_mgmt/segment_index_confirmation.go
    • Line 15: warning: don't use an underscore in package name (golint)
    • Line 21: warning: exported type SegmentIndexConfirmation should have comment or be unexported (golint)
    • Line 26: warning: exported method SegmentIndexConfirmation.ProtoId should have comment or be unexported (golint)
    • Line 30: warning: exported type SegmentIndexConfirmationRes should have comment or be unexported (golint)
    • Line 35: warning: exported method SegmentIndexConfirmationRes.ProtoId should have comment or be unexported (golint)
    • scion/go/lib/snet/packet_conn.go
    • Line 68: warning: exported type L4Header should have comment or be unexported (golint)
    • Line 72: warning: exported type UDPL4 should have comment or be unexported (golint)
    • Line 78: warning: exported type SCMPExternalInterfaceDownL4 should have comment or be unexported (golint)
    • Line 116: warning: exported method SCIONPacketConn.SetDeadline should have comment or be unexported (golint)
    • Line 120: warning: exported method SCIONPacketConn.Close should have comment or be unexported (golint)
    • Line 125: warning: exported method SCIONPacketConn.WriteTo should have comment or be unexported (golint)
    • Line 140: warning: exported method SCIONPacketConn.SetWriteDeadline should have comment or be unexported (golint)
    • Line 144: warning: exported method SCIONPacketConn.ReadFrom should have comment or be unexported (golint)
    • Line 201: warning: exported method SCIONPacketConn.SetReadDeadline should have comment or be unexported (golint)
    • Line 205: warning: exported type SerializationOptions should have comment or be unexported (golint)
    • scion/go/cs/reservation/e2e/request.go
    • Line 117: warning: exported method SetupReq.Transfer should have comment or be unexported (golint)
    • Line 121: warning: exported type PathLocation should have comment or be unexported (golint)
    • Line 124: warning: exported const Source should have comment (or a comment on this block) or be unexported (golint)
    • scion/go/lib/ctrl/colibri_mgmt/segment_setup.go
    • Line 15: warning: don't use an underscore in package name (golint)
    • Line 21: warning: exported type SegmentSetup should have comment or be unexported (golint)
    • Line 32: warning: exported method SegmentSetup.ProtoId should have comment or be unexported (golint)
    • Line 36: warning: exported type SegmentSetupRes should have comment or be unexported (golint)
    • Line 43: warning: exported method SegmentSetupRes.ProtoId should have comment or be unexported (golint)
    • Line 47: warning: exported type PathEndProps should have comment or be unexported (golint)
    • Line 52: warning: exported method PathEndProps.ProtoId should have comment or be unexported (golint)
    • Line 56: warning: exported type AllocationBead should have comment or be unexported (golint)
    • Line 61: warning: exported method AllocationBead.ProtoId should have comment or be unexported (golint)
    • scion/go/lib/pktcls/json.go
    • Line 25: warning: exported type Typer should have comment or be unexported (golint)
    • Line 44: warning: exported const TypeCondAllOf should have comment (or a comment on this block) or be unexported (golint)
    • scion/go/pkg/cs/drkey/test/testcommons.go
    • Line 42: warning: exported method SecretValueTestFactory.GetSecretValue should have comment or be unexported (golint)
    • Line 46: warning: exported function GetSecretValueTestFactory should have comment or be unexported (golint)
    • Line 53: warning: exported function GetInputToDeriveLvl2Key should have comment or be unexported (golint)
    • scion/go/cs/beacon/metrics.go
    • Line 101: warning: exported method MetricsDB.SetMaxOpenConns should have comment or be unexported (golint)
    • Line 105: warning: exported method MetricsDB.SetMaxIdleConns should have comment or be unexported (golint)
    • Line 109: warning: exported method MetricsDB.Close should have comment or be unexported (golint)
    • Line 113: warning: exported method MetricsDB.BeginTransaction should have comment or be unexported (golint)
    • Line 142: warning: exported method MetricsTransaction.Commit should have comment or be unexported (golint)
    • Line 151: warning: exported method MetricsTransaction.Rollback should have comment or be unexported (golint)
    • scion/go/pkg/cs/api/api.go
    • Line 45: warning: exported type SegmentsStore should have comment or be unexported (golint)
    • Line 466: warning: exported method Server.GetTrcs should have comment or be unexported (golint)
    • scion/go/pkg/ca/renewal/request.go
    • Line 70: warning: exported type TRCFetcher should have comment or be unexported (golint)
    • Line 77: warning: exported type RequestVerifier should have comment or be unexported (golint)
    • Line 304: warning: exported function ExtractChain should have comment or be unexported (golint)
    • scion/go/lib/infra/infraenv/infraenv.go
    • Line 88: warning: exported method NetworkConfig.TCPStack should have comment or be unexported (golint)
    • Line 96: warning: exported method NetworkConfig.QUICStack should have comment or be unexported (golint)
    • Line 360: warning: exported function InitInfraEnvironment should have comment or be unexported (golint)
    • scion/go/lib/sock/reliable/reconnect/util.go
    • Line 21: warning: exported type AtomicBool should have comment or be unexported (golint)
    • Line 26: warning: exported method AtomicBool.Set should have comment or be unexported (golint)
    • Line 32: warning: exported method AtomicBool.IsTrue should have comment or be unexported (golint)
    • Line 39: warning: exported method AtomicBool.IsFalse should have comment or be unexported (golint)
    • scion/go/lib/snet/path.go
    • Line 119: warning: exported method PathMetadata.Copy should have comment or be unexported (golint)
    • Line 174: warning: exported type PathFingerprint should have comment or be unexported (golint)
    • scion/go/lib/addr/isdas.go
    • Line 30: warning: exported const IABytes should have comment (or a comment on this block) or be unexported (golint)
    • Line 166: warning: exported method AS.MarshalText should have comment or be unexported (golint)
    • Line 173: warning: exported method AS.UnmarshalText should have comment or be unexported (golint)
    • Line 192: warning: exported function IAFromRaw should have comment or be unexported (golint)
    • Line 232: warning: exported method IA.MarshalText should have comment or be unexported (golint)
    • Line 250: warning: exported method IA.Parse should have comment or be unexported (golint)
    • Line 258: warning: exported method IA.IAInt should have comment or be unexported (golint)
    • Line 262: warning: exported method IA.IsZero should have comment or be unexported (golint)
    • Line 266: warning: exported method IA.Equal should have comment or be unexported (golint)
    • Line 303: warning: exported method IAInt.IA should have comment or be unexported (golint)
    • Line 311: warning: exported method IAInt.MarshalText should have comment or be unexported (golint)
    • Line 311: warning: receiver name ia should be consistent with previous receiver name iaI for IAInt (golint)
    • Line 315: warning: exported method IAInt.UnmarshalText should have comment or be unexported (golint)
    • Line 315: warning: receiver name ia should be consistent with previous receiver name iaI for IAInt (golint)
    • scion/go/pkg/sciond/config/config.go
    • Line 34: warning: exported var DefaultQueryInterval should have comment or be unexported (golint)
    • Line 39: warning: exported type Config should have comment or be unexported (golint)
    • Line 52: warning: exported method Config.InitDefaults should have comment or be unexported (golint)
    • Line 66: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 80: warning: exported method Config.Sample should have comment or be unexported (golint)
    • Line 115: warning: exported type SDConfig should have comment or be unexported (golint)
    • Line 131: warning: exported method SDConfig.InitDefaults should have comment or be unexported (golint)
    • Line 140: warning: exported method SDConfig.Validate should have comment or be unexported (golint)
    • Line 147: warning: exported method SDConfig.Sample should have comment or be unexported (golint)
    • Line 151: warning: exported method SDConfig.ConfigName should have comment or be unexported (golint)
    • scion/go/integration/common.go
    • Line 41: warning: exported const ModeServer should have comment (or a comment on this block) or be unexported (golint)
    • Line 47: warning: exported var Local should have comment or be unexported (golint)
    • Line 56: warning: exported function Setup should have comment or be unexported (golint)
    • Line 117: warning: exported function InitNetwork should have comment or be unexported (golint)
    • Line 136: warning: exported function SDConn should have comment or be unexported (golint)
    • scion/go/lib/snet/dispatcher.go
    • Line 53: warning: exported method DefaultPacketDispatcherService.Register should have comment or be unexported (golint)
    • Line 97: warning: exported method DefaultSCMPHandler.Handle should have comment or be unexported (golint)
    • scion/go/dispatcher/internal/registration/scmp_table.go
    • Line 28: warning: exported function NewSCMPTable should have comment or be unexported (golint)
    • Line 32: warning: exported method SCMPTable.Lookup should have comment or be unexported (golint)
    • Line 37: warning: exported method SCMPTable.Register should have comment or be unexported (golint)
    • Line 48: warning: exported method SCMPTable.Remove should have comment or be unexported (golint)
    • scion/go/lib/spse/scmp_auth/drkey.go
    • Line 27: warning: don't use an underscore in package name (golint)
    • Line 50: warning: exported const DirectionLength should have comment (or a comment on this block) or be unexported (golint)
    • Line 59: warning: exported type Dir should have comment or be unexported (golint)
    • Line 62: warning: exported const AsToAs should have comment (or a comment on this block) or be unexported (golint)
    • Line 89: warning: exported function NewDRKeyExtn should have comment or be unexported (golint)
    • Line 95: warning: exported method DRKeyExtn.SetDirection should have comment or be unexported (golint)
    • Line 103: warning: exported method DRKeyExtn.SetMAC should have comment or be unexported (golint)
    • Line 126: warning: exported method DRKeyExtn.Pack should have comment or be unexported (golint)
    • Line 134: warning: exported method DRKeyExtn.Len should have comment or be unexported (golint)
    • scion/go/cs/beaconing/staticinfo_config_test.go
    • Line 30: warning: don't use underscores in Go names; const latency_intra_1_2 should be latencyIntra1_2 (golint)
    • Line 31: warning: don't use underscores in Go names; const latency_intra_1_3 should be latencyIntra1_3 (golint)
    • Line 32: warning: don't use underscores in Go names; const latency_intra_1_5 should be latencyIntra1_5 (golint)
    • Line 33: warning: don't use underscores in Go names; const latency_intra_2_3 should be latencyIntra2_3 (golint)
    • Line 34: warning: don't use underscores in Go names; const latency_intra_2_5 should be latencyIntra2_5 (golint)
    • Line 35: warning: don't use underscores in Go names; const latency_intra_3_5 should be latencyIntra3_5 (golint)
    • Line 36: warning: don't use underscores in Go names; const latency_inter_1 should be latencyInter1 (golint)
    • Line 37: warning: don't use underscores in Go names; const latency_inter_2 should be latencyInter2 (golint)
    • Line 38: warning: don't use underscores in Go names; const latency_inter_3 should be latencyInter3 (golint)
    • Line 39: warning: don't use underscores in Go names; const latency_inter_5 should be latencyInter5 (golint)
    • Line 41: warning: don't use underscores in Go names; const bandwidth_intra_1_2 should be bandwidthIntra1_2 (golint)
    • Line 42: warning: don't use underscores in Go names; const bandwidth_intra_1_3 should be bandwidthIntra1_3 (golint)
    • Line 43: warning: don't use underscores in Go names; const bandwidth_intra_1_5 should be bandwidthIntra1_5 (golint)
    • Line 44: warning: don't use underscores in Go names; const bandwidth_intra_2_3 should be bandwidthIntra2_3 (golint)
    • Line 45: warning: don't use underscores in Go names; const bandwidth_intra_2_5 should be bandwidthIntra2_5 (golint)
    • Line 46: warning: don't use underscores in Go names; const bandwidth_intra_3_5 should be bandwidthIntra3_5 (golint)
    • Line 47: warning: don't use underscores in Go names; const bandwidth_inter_1 should be bandwidthInter1 (golint)
    • Line 48: warning: don't use underscores in Go names; const bandwidth_inter_2 should be bandwidthInter2 (golint)
    • Line 49: warning: don't use underscores in Go names; const bandwidth_inter_3 should be bandwidthInter3 (golint)
    • Line 50: warning: don't use underscores in Go names; const bandwidth_inter_5 should be bandwidthInter5 (golint)
    • Line 52: warning: don't use underscores in Go names; const link_type_1 should be linkType1 (golint)
    • Line 53: warning: don't use underscores in Go names; const link_type_2 should be linkType2 (golint)
    • Line 54: warning: don't use underscores in Go names; const link_type_3 should be linkType3 (golint)
    • Line 55: warning: don't use underscores in Go names; const link_type_5 should be linkType5 (golint)
    • Line 57: warning: don't use underscores in Go names; const hops_intra_1_2 should be hopsIntra1_2 (golint)
    • Line 58: warning: don't use underscores in Go names; const hops_intra_1_3 should be hopsIntra1_3 (golint)
    • Line 59: warning: don't use underscores in Go names; const hops_intra_1_5 should be hopsIntra1_5 (golint)
    • Line 60: warning: don't use underscores in Go names; const hops_intra_2_3 should be hopsIntra2_3 (golint)
    • Line 61: warning: don't use underscores in Go names; const hops_intra_2_5 should be hopsIntra2_5 (golint)
    • Line 62: warning: don't use underscores in Go names; const hops_intra_3_5 should be hopsIntra3_5 (golint)
    • Line 66: warning: don't use underscores in Go names; var geo_1 should be geo1 (golint)
    • Line 71: warning: don't use underscores in Go names; var geo_2 should be geo2 (golint)
    • Line 76: warning: don't use underscores in Go names; var geo_3 should be geo3 (golint)
    • Line 81: warning: don't use underscores in Go names; var geo_5 should be geo5 (golint)
    • scion/go/pkg/grpc/interceptor.go
    • Line 30: warning: exported function LogIDClientInterceptor should have comment or be unexported (golint)
    • Line 47: warning: exported function LogIDServerInterceptor should have comment or be unexported (golint)
    • scion/go/cs/reservation/e2e/index.go
    • Line 33: warning: exported type Indices should have comment or be unexported (golint)
    • Line 37: warning: exported method Indices.Len should have comment or be unexported (golint)
    • Line 38: warning: exported method Indices.GetIndexNumber should have comment or be unexported (golint)
    • Line 39: warning: exported method Indices.GetExpiration should have comment or be unexported (golint)
    • Line 40: warning: exported method Indices.GetAllocBW should have comment or be unexported (golint)
    • Line 41: warning: exported method Indices.GetToken should have comment or be unexported (golint)
    • Line 42: warning: exported method Indices.Rotate should have comment or be unexported (golint)
    • scion/go/lib/env/features.go
    • Line 41: warning: exported method Features.Sample should have comment or be unexported (golint)
    • Line 45: warning: exported method Features.ConfigName should have comment or be unexported (golint)
    • scion/go/lib/sock/reliable/frame.go
    • Line 32: warning: exported method UnderlayPacket.SerializeTo should have comment or be unexported (golint)
    • Line 46: warning: exported method UnderlayPacket.DecodeFromBytes should have comment or be unexported (golint)
    • scion/go/dispatcher/dispatcher/table.go
    • Line 25: warning: exported type TableEntry should have comment or be unexported (golint)
    • Line 42: warning: exported function NewIATable should have comment or be unexported (golint)
    • Line 48: warning: exported method IATable.LookupPublic should have comment or be unexported (golint)
    • Line 56: warning: exported method IATable.LookupService should have comment or be unexported (golint)
    • Line 65: warning: exported method IATable.LookupID should have comment or be unexported (golint)
    • scion/go/lib/util/yaml.go
    • Line 22: warning: exported type B64Bytes should have comment or be unexported (golint)
    • Line 28: warning: exported method B64Bytes.MarshalYAML should have comment or be unexported (golint)
    • Line 32: warning: exported method B64Bytes.UnmarshalYAML should have comment or be unexported (golint)
    • scion/go/lib/env/env.go
    • Line 75: warning: exported type General should have comment or be unexported (golint)
    • Line 90: warning: exported method General.Validate should have comment or be unexported (golint)
    • Line 111: warning: exported method General.Sample should have comment or be unexported (golint)
    • Line 115: warning: exported method General.ConfigName should have comment or be unexported (golint)
    • Line 144: warning: exported method SCIONDClient.InitDefaults should have comment or be unexported (golint)
    • Line 153: warning: exported method SCIONDClient.Validate should have comment or be unexported (golint)
    • Line 160: warning: exported method SCIONDClient.Sample should have comment or be unexported (golint)
    • Line 164: warning: exported method SCIONDClient.ConfigName should have comment or be unexported (golint)
    • Line 199: warning: exported function ReloadTopology should have comment or be unexported (golint)
    • Line 214: warning: exported type Metrics should have comment or be unexported (golint)
    • Line 222: warning: exported method Metrics.Sample should have comment or be unexported (golint)
    • Line 226: warning: exported method Metrics.ConfigName should have comment or be unexported (golint)
    • Line 230: warning: exported method Metrics.StartPrometheus should have comment or be unexported (golint)
    • Line 255: warning: exported method Tracing.InitDefaults should have comment or be unexported (golint)
    • Line 262: warning: exported method Tracing.Sample should have comment or be unexported (golint)
    • Line 266: warning: exported method Tracing.ConfigName should have comment or be unexported (golint)
    • Line 297: warning: exported method QUIC.Sample should have comment or be unexported (golint)
    • Line 301: warning: exported method QUIC.ConfigName should have comment or be unexported (golint)
    • scion/go/lib/sciond/fake/fake.go
    • Line 76: warning: exported type Path should have comment or be unexported (golint)
    • Line 86: warning: exported method Path.Path should have comment or be unexported (golint)
    • Line 104: warning: exported type PathInterface should have comment or be unexported (golint)
    • Line 112: warning: exported method UDPAddr.MarshalText should have comment or be unexported (golint)
    • Line 117: warning: exported method UDPAddr.UnmarshalText should have comment or be unexported (golint)
    • scion/go/lib/sock/reliable/reconnect/conn.go
    • Line 29: warning: exported type PacketConn should have comment or be unexported (golint)
    • Line 61: warning: exported function NewPacketConn should have comment or be unexported (golint)
    • Line 72: warning: exported method PacketConn.ReadFrom should have comment or be unexported (golint)
    • Line 79: warning: exported method PacketConn.WriteTo should have comment or be unexported (golint)
    • Line 87: warning: exported method PacketConn.DoIO should have comment or be unexported (golint)
    • Line 171: warning: exported method PacketConn.Close should have comment or be unexported (golint)
    • Line 194: warning: exported method PacketConn.LocalAddr should have comment or be unexported (golint)
    • Line 198: warning: exported method PacketConn.SetWriteDeadline should have comment or be unexported (golint)
    • Line 212: warning: exported method PacketConn.SetReadDeadline should have comment or be unexported (golint)
    • Line 226: warning: exported method PacketConn.SetDeadline should have comment or be unexported (golint)
    • scion/go/lib/slayers/udp.go
    • Line 35: warning: exported method UDP.LayerType should have comment or be unexported (golint)
    • Line 39: warning: exported method UDP.CanDecode should have comment or be unexported (golint)
    • Line 43: warning: exported method UDP.SerializeTo should have comment or be unexported (golint)
    • Line 78: warning: exported method UDP.SetNetworkLayerForChecksum should have comment or be unexported (golint)
    • scion/go/pkg/worker/worker.go
    • Line 57: warning: comment on exported method Base.RunWrapper should be of the form "RunWrapper ..." (golint)
    • Line 112: warning: exported method Base.GetDoneChan should have comment or be unexported (golint)
    • scion/go/posix-gateway/config/config.go
    • Line 26: warning: exported type Config should have comment or be unexported (golint)
    • Line 35: warning: exported method Config.InitDefaults should have comment or be unexported (golint)
    • Line 46: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 57: warning: exported method Config.Sample should have comment or be unexported (golint)
    • scion/go/lib/pathdb/pathdbtest/pathdbtest.go
    • Line 776: warning: exported function AllocPathSegment should have comment or be unexported (golint)
    • Line 834: warning: context.Context should be the first parameter of a function (golint)
    • Line 834: warning: exported function InsertSeg should have comment or be unexported (golint)
    • Line 885: warning: context.Context should be the first parameter of a function (golint)
    • Line 904: warning: context.Context should be the first parameter of a function (golint)
    • scion/go/lib/ctrl/seg/extensions/epic/epic.go
    • Line 24: warning: exported const AuthLen should have comment or be unexported (golint)
    • Line 26: warning: exported type Detached should have comment or be unexported (golint)
    • Line 56: warning: comment on exported function DetachedToPB should be of the form "DetachedToPB ..." (golint)
    • Line 85: warning: exported method Detached.DigestInput should have comment or be unexported (golint)
    • scion/go/lib/spse/scmp_auth/hashtree.go
    • Line 27: warning: don't use an underscore in package name (golint)
    • Line 56: warning: exported const MaxHeight should have comment (or a comment on this block) or be unexported (golint)
    • Line 70: warning: exported function NewHashTreeExtn should have comment or be unexported (golint)
    • Line 85: warning: exported method HashTreeExtn.SetOrder should have comment or be unexported (golint)
    • Line 95: warning: exported method HashTreeExtn.SetSignature should have comment or be unexported (golint)
    • Line 105: warning: exported method HashTreeExtn.SetHashes should have comment or be unexported (golint)
    • Line 128: warning: exported method HashTreeExtn.Pack should have comment or be unexported (golint)
    • Line 136: warning: exported method HashTreeExtn.Len should have comment or be unexported (golint)
    • scion/go/lib/sock/reliable/errors.go
    • Line 44: warning: exported function IsDispatcherError should have comment or be unexported (golint)
    • Line 71: warning: exported function IsSpecificSysError should have comment or be unexported (golint)
    • Line 79: warning: exported function IsSysError should have comment or be unexported (golint)
    • scion/go/pkg/gateway/xnet/xnet.go
    • Line 36: warning: exported const SIGTxQlen should have comment (or a comment on this block) or be unexported (golint)
    • Line 72: warning: exported function AddRoute should have comment or be unexported (golint)
    • Line 89: warning: exported function DeleteRoute should have comment or be unexported (golint)
    • scion/go/lib/ctrl/sig_mgmt/common.go
    • Line 15: warning: don't use an underscore in package name (golint)
    • Line 22: warning: exported type SessionType should have comment or be unexported (golint)
    • Line 28: warning: exported method SessionType.MarshalJSON should have comment or be unexported (golint)
    • scion/go/lib/scrypto/rand.go
    • Line 25: warning: exported const ErrInvalidNonceSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported function RandUint64 should have comment or be unexported (golint)
    • scion/go/cs/reservation/test/path.go
    • Line 21: warning: exported type TestColibriPath should have comment or be unexported (golint)
    • Line 30: warning: exported method TestColibriPath.Copy should have comment or be unexported (golint)
    • Line 34: warning: exported method TestColibriPath.Reverse should have comment or be unexported (golint)
    • Line 38: warning: exported method TestColibriPath.NumberOfHops should have comment or be unexported (golint)
    • Line 42: warning: exported method TestColibriPath.IndexOfCurrentHop should have comment or be unexported (golint)
    • Line 46: warning: exported method TestColibriPath.IngressEgressIFIDs should have comment or be unexported (golint)
    • scion/go/pkg/app/flag/time.go
    • Line 50: warning: exported method Time.Set should have comment or be unexported (golint)
    • Line 72: warning: exported method Time.UnmarshalText should have comment or be unexported (golint)
    • Line 76: warning: exported method Time.Type should have comment or be unexported (golint)
    • Line 80: warning: exported method Time.MarshalText should have comment or be unexported (golint)
    • scion/go/lib/slayers/path/empty/empty.go
    • Line 25: warning: exported const PathType should have comment or be unexported (golint)
    • Line 27: warning: exported function RegisterPath should have comment or be unexported (golint)
    • Line 41: warning: exported method Path.DecodeFromBytes should have comment or be unexported (golint)
    • Line 48: warning: exported method Path.SerializeTo should have comment or be unexported (golint)
    • Line 52: warning: exported method Path.Reverse should have comment or be unexported (golint)
    • Line 56: warning: exported method Path.Len should have comment or be unexported (golint)
    • Line 60: warning: exported method Path.Type should have comment or be unexported (golint)
    • scion/go/pkg/app/flag/addr.go
    • Line 24: warning: exported method TCPAddr.Set should have comment or be unexported (golint)
    • Line 33: warning: exported method TCPAddr.UnmarshalText should have comment or be unexported (golint)
    • Line 37: warning: exported method TCPAddr.Type should have comment or be unexported (golint)
    • Line 41: warning: exported method TCPAddr.MarshalText should have comment or be unexported (golint)
    • Line 52: warning: exported method UDPAddr.Set should have comment or be unexported (golint)
    • Line 61: warning: exported method UDPAddr.UnmarshalText should have comment or be unexported (golint)
    • Line 65: warning: exported method UDPAddr.Type should have comment or be unexported (golint)
    • Line 69: warning: exported method UDPAddr.MarshalText should have comment or be unexported (golint)
    • scion/go/pkg/gateway/config/configtest/configtest.go
    • Line 25: warning: exported function InitGateway should have comment or be unexported (golint)
    • Line 27: warning: exported function CheckGateway should have comment or be unexported (golint)
    • Line 35: warning: exported function InitTunnel should have comment or be unexported (golint)
    • Line 37: warning: exported function CheckTunnel should have comment or be unexported (golint)
    • scion/antlr/traffic_class/trafficclass_parser.go
    • Line 3: warning: don't use an underscore in package name (golint)
    • Line 100: warning: exported type TrafficClassParser should have comment or be unexported (golint)
    • Line 104: warning: exported function NewTrafficClassParser should have comment or be unexported (golint)
    • Line 121: warning: don't use underscores in Go names; const TrafficClassParserT__0 should be TrafficClassParserT0 (golint)
    • Line 122: warning: don't use underscores in Go names; const TrafficClassParserT__1 should be TrafficClassParserT1 (golint)
    • Line 123: warning: don't use underscores in Go names; const TrafficClassParserT__2 should be TrafficClassParserT2 (golint)
    • Line 124: warning: don't use underscores in Go names; const TrafficClassParserT__3 should be TrafficClassParserT3 (golint)
    • Line 125: warning: don't use underscores in Go names; const TrafficClassParserT__4 should be TrafficClassParserT4 (golint)
    • Line 126: warning: don't use underscores in Go names; const TrafficClassParserT__5 should be TrafficClassParserT5 (golint)
    • Line 127: warning: don't use underscores in Go names; const TrafficClassParserT__6 should be TrafficClassParserT6 (golint)
    • Line 128: warning: don't use underscores in Go names; const TrafficClassParserT__7 should be TrafficClassParserT7 (golint)
    • Line 129: warning: don't use underscores in Go names; const TrafficClassParserT__8 should be TrafficClassParserT8 (golint)
    • Line 132: warning: don't use underscores in Go names; const TrafficClassParserHEX_DIGITS should be TrafficClassParserHEXDIGITS (golint)
    • Line 150: warning: don't use underscores in Go names; const TrafficClassParserRULE_matchSrc should be TrafficClassParserRULEMatchSrc (golint)
    • Line 151: warning: don't use underscores in Go names; const TrafficClassParserRULE_matchDst should be TrafficClassParserRULEMatchDst (golint)
    • Line 152: warning: don't use underscores in Go names; const TrafficClassParserRULE_matchDSCP should be TrafficClassParserRULEMatchDSCP (golint)
    • Line 153: warning: don't use underscores in Go names; const TrafficClassParserRULE_matchTOS should be TrafficClassParserRULEMatchTOS (golint)
    • Line 154: warning: don't use underscores in Go names; const TrafficClassParserRULE_matchProtocol should be TrafficClassParserRULEMatchProtocol (golint)
    • Line 155: warning: don't use underscores in Go names; const TrafficClassParserRULE_matchSrcPort should be TrafficClassParserRULEMatchSrcPort (golint)
    • Line 156: warning: don't use underscores in Go names; const TrafficClassParserRULE_matchSrcPortRange should be TrafficClassParserRULEMatchSrcPortRange (golint)
    • Line 157: warning: don't use underscores in Go names; const TrafficClassParserRULE_matchDstPort should be TrafficClassParserRULEMatchDstPort (golint)
    • Line 158: warning: don't use underscores in Go names; const TrafficClassParserRULE_matchDstPortRange should be TrafficClassParserRULEMatchDstPortRange (golint)
    • Line 159: warning: don't use underscores in Go names; const TrafficClassParserRULE_condCls should be TrafficClassParserRULECondCls (golint)
    • Line 160: warning: don't use underscores in Go names; const TrafficClassParserRULE_condAny should be TrafficClassParserRULECondAny (golint)
    • Line 161: warning: don't use underscores in Go names; const TrafficClassParserRULE_condAll should be TrafficClassParserRULECondAll (golint)
    • Line 162: warning: don't use underscores in Go names; const TrafficClassParserRULE_condNot should be TrafficClassParserRULECondNot (golint)
    • Line 163: warning: don't use underscores in Go names; const TrafficClassParserRULE_condBool should be TrafficClassParserRULECondBool (golint)
    • Line 164: warning: don't use underscores in Go names; const TrafficClassParserRULE_condIPv4 should be TrafficClassParserRULECondIPv4 (golint)
    • Line 165: warning: don't use underscores in Go names; const TrafficClassParserRULE_condPort should be TrafficClassParserRULECondPort (golint)
    • Line 166: warning: don't use underscores in Go names; const TrafficClassParserRULE_cond should be TrafficClassParserRULECond (golint)
    • Line 167: warning: don't use underscores in Go names; const TrafficClassParserRULE_trafficClass should be TrafficClassParserRULETrafficClass (golint)
    • Line 181: warning: exported type MatchSrcContext should have comment or be unexported (golint)
    • Line 186: warning: exported function NewEmptyMatchSrcContext should have comment or be unexported (golint)
    • Line 193: warning: exported method MatchSrcContext.IsMatchSrcContext should have comment or be unexported (golint)
    • Line 195: warning: exported function NewMatchSrcContext should have comment or be unexported (golint)
    • Line 206: warning: exported method MatchSrcContext.GetParser should have comment or be unexported (golint)
    • Line 208: warning: exported method MatchSrcContext.SRC should have comment or be unexported (golint)
    • Line 212: warning: exported method MatchSrcContext.NET should have comment or be unexported (golint)
    • Line 216: warning: exported method MatchSrcContext.GetRuleContext should have comment or be unexported (golint)
    • Line 220: warning: exported method MatchSrcContext.ToStringTree should have comment or be unexported (golint)
    • Line 224: warning: exported method MatchSrcContext.EnterRule should have comment or be unexported (golint)
    • Line 230: warning: exported method MatchSrcContext.ExitRule should have comment or be unexported (golint)
    • Line 236: warning: exported method TrafficClassParser.MatchSrc should have comment or be unexported (golint)
    • Line 284: warning: exported type MatchDstContext should have comment or be unexported (golint)
    • Line 289: warning: exported function NewEmptyMatchDstContext should have comment or be unexported (golint)
    • Line 296: warning: exported method MatchDstContext.IsMatchDstContext should have comment or be unexported (golint)
    • Line 298: warning: exported function NewMatchDstContext should have comment or be unexported (golint)
    • Line 309: warning: exported method MatchDstContext.GetParser should have comment or be unexported (golint)
    • Line 311: warning: exported method MatchDstContext.DST should have comment or be unexported (golint)
    • Line 315: warning: exported method MatchDstContext.NET should have comment or be unexported (golint)
    • Line 319: warning: exported method MatchDstContext.GetRuleContext should have comment or be unexported (golint)
    • Line 323: warning: exported method MatchDstContext.ToStringTree should have comment or be unexported (golint)
    • Line 327: warning: exported method MatchDstContext.EnterRule should have comment or be unexported (golint)
    • Line 333: warning: exported method MatchDstContext.ExitRule should have comment or be unexported (golint)
    • Line 339: warning: exported method TrafficClassParser.MatchDst should have comment or be unexported (golint)
    • Line 387: warning: exported type MatchDSCPContext should have comment or be unexported (golint)
    • Line 392: warning: exported function NewEmptyMatchDSCPContext should have comment or be unexported (golint)
    • Line 399: warning: exported method MatchDSCPContext.IsMatchDSCPContext should have comment or be unexported (golint)
    • Line 401: warning: exported function NewMatchDSCPContext should have comment or be unexported (golint)
    • Line 412: warning: exported method MatchDSCPContext.GetParser should have comment or be unexported (golint)
    • Line 414: warning: exported method MatchDSCPContext.DSCP should have comment or be unexported (golint)
    • Line 418: warning: exported method MatchDSCPContext.HEX_DIGITS should have comment or be unexported (golint)
    • Line 422: warning: exported method MatchDSCPContext.DIGITS should have comment or be unexported (golint)
    • Line 426: warning: exported method MatchDSCPContext.GetRuleContext should have comment or be unexported (golint)
    • Line 430: warning: exported method MatchDSCPContext.ToStringTree should have comment or be unexported (golint)
    • Line 434: warning: exported method MatchDSCPContext.EnterRule should have comment or be unexported (golint)
    • Line 440: warning: exported method MatchDSCPContext.ExitRule should have comment or be unexported (golint)
    • Line 446: warning: exported method TrafficClassParser.MatchDSCP should have comment or be unexported (golint)
    • Line 502: warning: exported type MatchTOSContext should have comment or be unexported (golint)
    • Line 507: warning: exported function NewEmptyMatchTOSContext should have comment or be unexported (golint)
    • Line 514: warning: exported method MatchTOSContext.IsMatchTOSContext should have comment or be unexported (golint)
    • Line 516: warning: exported function NewMatchTOSContext should have comment or be unexported (golint)
    • Line 527: warning: exported method MatchTOSContext.GetParser should have comment or be unexported (golint)
    • Line 529: warning: exported method MatchTOSContext.TOS should have comment or be unexported (golint)
    • Line 533: warning: exported method MatchTOSContext.HEX_DIGITS should have comment or be unexported (golint)
    • Line 537: warning: exported method MatchTOSContext.DIGITS should have comment or be unexported (golint)
    • Line 541: warning: exported method MatchTOSContext.GetRuleContext should have comment or be unexported (golint)
    • Line 545: warning: exported method MatchTOSContext.ToStringTree should have comment or be unexported (golint)
    • Line 549: warning: exported method MatchTOSContext.EnterRule should have comment or be unexported (golint)
    • Line 555: warning: exported method MatchTOSContext.ExitRule should have comment or be unexported (golint)
    • Line 561: warning: exported method TrafficClassParser.MatchTOS should have comment or be unexported (golint)
    • Line 617: warning: exported type MatchProtocolContext should have comment or be unexported (golint)
    • Line 622: warning: exported function NewEmptyMatchProtocolContext should have comment or be unexported (golint)
    • Line 629: warning: exported method MatchProtocolContext.IsMatchProtocolContext should have comment or be unexported (golint)
    • Line 631: warning: exported function NewMatchProtocolContext should have comment or be unexported (golint)
    • Line 642: warning: exported method MatchProtocolContext.GetParser should have comment or be unexported (golint)
    • Line 644: warning: exported method MatchProtocolContext.PROTOCOL should have comment or be unexported (golint)
    • Line 648: warning: exported method MatchProtocolContext.STRING should have comment or be unexported (golint)
    • Line 652: warning: exported method MatchProtocolContext.GetRuleContext should have comment or be unexported (golint)
    • Line 656: warning: exported method MatchProtocolContext.ToStringTree should have comment or be unexported (golint)
    • Line 660: warning: exported method MatchProtocolContext.EnterRule should have comment or be unexported (golint)
    • Line 666: warning: exported method MatchProtocolContext.ExitRule should have comment or be unexported (golint)
    • Line 672: warning: exported method TrafficClassParser.MatchProtocol should have comment or be unexported (golint)
    • Line 720: warning: exported type MatchSrcPortContext should have comment or be unexported (golint)
    • Line 725: warning: exported function NewEmptyMatchSrcPortContext should have comment or be unexported (golint)
    • Line 732: warning: exported method MatchSrcPortContext.IsMatchSrcPortContext should have comment or be unexported (golint)
    • Line 734: warning: exported function NewMatchSrcPortContext should have comment or be unexported (golint)
    • Line 745: warning: exported method MatchSrcPortContext.GetParser should have comment or be unexported (golint)
    • Line 747: warning: exported method MatchSrcPortContext.SRCPORT should have comment or be unexported (golint)
    • Line 751: warning: exported method MatchSrcPortContext.DIGITS should have comment or be unexported (golint)
    • Line 755: warning: exported method MatchSrcPortContext.GetRuleContext should have comment or be unexported (golint)
    • Line 759: warning: exported method MatchSrcPortContext.ToStringTree should have comment or be unexported (golint)
    • Line 763: warning: exported method MatchSrcPortContext.EnterRule should have comment or be unexported (golint)
    • Line 769: warning: exported method MatchSrcPortContext.ExitRule should have comment or be unexported (golint)
    • Line 775: warning: exported method TrafficClassParser.MatchSrcPort should have comment or be unexported (golint)
    • Line 823: warning: exported type MatchSrcPortRangeContext should have comment or be unexported (golint)
    • Line 828: warning: exported function NewEmptyMatchSrcPortRangeContext should have comment or be unexported (golint)
    • Line 835: warning: exported method MatchSrcPortRangeContext.IsMatchSrcPortRangeContext should have comment or be unexported (golint)
    • Line 837: warning: exported function NewMatchSrcPortRangeContext should have comment or be unexported (golint)
    • Line 848: warning: exported method MatchSrcPortRangeContext.GetParser should have comment or be unexported (golint)
    • Line 850: warning: exported method MatchSrcPortRangeContext.SRCPORT should have comment or be unexported (golint)
    • Line 854: warning: exported method MatchSrcPortRangeContext.AllDIGITS should have comment or be unexported (golint)
    • Line 858: warning: exported method MatchSrcPortRangeContext.DIGITS should have comment or be unexported (golint)
    • Line 862: warning: exported method MatchSrcPortRangeContext.GetRuleContext should have comment or be unexported (golint)
    • Line 866: warning: exported method MatchSrcPortRangeContext.ToStringTree should have comment or be unexported (golint)
    • Line 870: warning: exported method MatchSrcPortRangeContext.EnterRule should have comment or be unexported (golint)
    • Line 876: warning: exported method MatchSrcPortRangeContext.ExitRule should have comment or be unexported (golint)
    • Line 882: warning: exported method TrafficClassParser.MatchSrcPortRange should have comment or be unexported (golint)
    • Line 938: warning: exported type MatchDstPortContext should have comment or be unexported (golint)
    • Line 943: warning: exported function NewEmptyMatchDstPortContext should have comment or be unexported (golint)
    • Line 950: warning: exported method MatchDstPortContext.IsMatchDstPortContext should have comment or be unexported (golint)
    • Line 952: warning: exported function NewMatchDstPortContext should have comment or be unexported (golint)
    • Line 963: warning: exported method MatchDstPortContext.GetParser should have comment or be unexported (golint)
    • Line 965: warning: exported method MatchDstPortContext.DSTPORT should have comment or be unexported (golint)
    • Line 969: warning: exported method MatchDstPortContext.DIGITS should have comment or be unexported (golint)
    • Line 973: warning: exported method MatchDstPortContext.GetRuleContext should have comment or be unexported (golint)
    • Line 977: warning: exported method MatchDstPortContext.ToStringTree should have comment or be unexported (golint)
    • Line 981: warning: exported method MatchDstPortContext.EnterRule should have comment or be unexported (golint)
    • Line 987: warning: exported method MatchDstPortContext.ExitRule should have comment or be unexported (golint)
    • Line 993: warning: exported method TrafficClassParser.MatchDstPort should have comment or be unexported (golint)
    • Line 1041: warning: exported type MatchDstPortRangeContext should have comment or be unexported (golint)
    • Line 1046: warning: exported function NewEmptyMatchDstPortRangeContext should have comment or be unexported (golint)
    • Line 1053: warning: exported method MatchDstPortRangeContext.IsMatchDstPortRangeContext should have comment or be unexported (golint)
    • Line 1055: warning: exported function NewMatchDstPortRangeContext should have comment or be unexported (golint)
    • Line 1066: warning: exported method MatchDstPortRangeContext.GetParser should have comment or be unexported (golint)
    • Line 1068: warning: exported method MatchDstPortRangeContext.DSTPORT should have comment or be unexported (golint)
    • Line 1072: warning: exported method MatchDstPortRangeContext.AllDIGITS should have comment or be unexported (golint)
    • Line 1076: warning: exported method MatchDstPortRangeContext.DIGITS should have comment or be unexported (golint)
    • Line 1080: warning: exported method MatchDstPortRangeContext.GetRuleContext should have comment or be unexported (golint)
    • Line 1084: warning: exported method MatchDstPortRangeContext.ToStringTree should have comment or be unexported (golint)
    • Line 1088: warning: exported method MatchDstPortRangeContext.EnterRule should have comment or be unexported (golint)
    • Line 1094: warning: exported method MatchDstPortRangeContext.ExitRule should have comment or be unexported (golint)
    • Line 1100: warning: exported method TrafficClassParser.MatchDstPortRange should have comment or be unexported (golint)
    • Line 1156: warning: exported type CondClsContext should have comment or be unexported (golint)
    • Line 1161: warning: exported function NewEmptyCondClsContext should have comment or be unexported (golint)
    • Line 1168: warning: exported method CondClsContext.IsCondClsContext should have comment or be unexported (golint)
    • Line 1170: warning: exported function NewCondClsContext should have comment or be unexported (golint)
    • Line 1181: warning: exported method CondClsContext.GetParser should have comment or be unexported (golint)
    • Line 1183: warning: exported method CondClsContext.DIGITS should have comment or be unexported (golint)
    • Line 1187: warning: exported method CondClsContext.GetRuleContext should have comment or be unexported (golint)
    • Line 1191: warning: exported method CondClsContext.ToStringTree should have comment or be unexported (golint)
    • Line 1195: warning: exported method CondClsContext.EnterRule should have comment or be unexported (golint)
    • Line 1201: warning: exported method CondClsContext.ExitRule should have comment or be unexported (golint)
    • Line 1207: warning: exported method TrafficClassParser.CondCls should have comment or be unexported (golint)
    • Line 1251: warning: exported type CondAnyContext should have comment or be unexported (golint)
    • Line 1256: warning: exported function NewEmptyCondAnyContext should have comment or be unexported (golint)
    • Line 1263: warning: exported method CondAnyContext.IsCondAnyContext should have comment or be unexported (golint)
    • Line 1265: warning: exported function NewCondAnyContext should have comment or be unexported (golint)
    • Line 1276: warning: exported method CondAnyContext.GetParser should have comment or be unexported (golint)
    • Line 1278: warning: exported method CondAnyContext.ANY should have comment or be unexported (golint)
    • Line 1282: warning: exported method CondAnyContext.AllCond should have comment or be unexported (golint)
    • Line 1295: warning: exported method CondAnyContext.Cond should have comment or be unexported (golint)
    • Line 1305: warning: exported method CondAnyContext.GetRuleContext should have comment or be unexported (golint)
    • Line 1309: warning: exported method CondAnyContext.ToStringTree should have comment or be unexported (golint)
    • Line 1313: warning: exported method CondAnyContext.EnterRule should have comment or be unexported (golint)
    • Line 1319: warning: exported method CondAnyContext.ExitRule should have comment or be unexported (golint)
    • Line 1325: warning: exported method TrafficClassParser.CondAny should have comment or be unexported (golint)
    • Line 1396: warning: exported type CondAllContext should have comment or be unexported (golint)
    • Line 1401: warning: exported function NewEmptyCondAllContext should have comment or be unexported (golint)
    • Line 1408: warning: exported method CondAllContext.IsCondAllContext should have comment or be unexported (golint)
    • Line 1410: warning: exported function NewCondAllContext should have comment or be unexported (golint)
    • Line 1421: warning: exported method CondAllContext.GetParser should have comment or be unexported (golint)
    • Line 1423: warning: exported method CondAllContext.ALL should have comment or be unexported (golint)
    • Line 1427: warning: exported method CondAllContext.AllCond should have comment or be unexported (golint)
    • Line 1440: warning: exported method CondAllContext.Cond should have comment or be unexported (golint)
    • Line 1450: warning: exported method CondAllContext.GetRuleContext should have comment or be unexported (golint)
    • Line 1454: warning: exported method CondAllContext.ToStringTree should have comment or be unexported (golint)
    • Line 1458: warning: exported method CondAllContext.EnterRule should have comment or be unexported (golint)
    • Line 1464: warning: exported method CondAllContext.ExitRule should have comment or be unexported (golint)
    • Line 1470: warning: exported method TrafficClassParser.CondAll should have comment or be unexported (golint)
    • Line 1541: warning: exported type CondNotContext should have comment or be unexported (golint)
    • Line 1546: warning: exported function NewEmptyCondNotContext should have comment or be unexported (golint)
    • Line 1553: warning: exported method CondNotContext.IsCondNotContext should have comment or be unexported (golint)
    • Line 1555: warning: exported function NewCondNotContext should have comment or be unexported (golint)
    • Line 1566: warning: exported method CondNotContext.GetParser should have comment or be unexported (golint)
    • Line 1568: warning: exported method CondNotContext.NOT should have comment or be unexported (golint)
    • Line 1572: warning: exported method CondNotContext.Cond should have comment or be unexported (golint)
    • Line 1582: warning: exported method CondNotContext.GetRuleContext should have comment or be unexported (golint)
    • Line 1586: warning: exported method CondNotContext.ToStringTree should have comment or be unexported (golint)
    • Line 1590: warning: exported method CondNotContext.EnterRule should have comment or be unexported (golint)
    • Line 1596: warning: exported method CondNotContext.ExitRule should have comment or be unexported (golint)
    • Line 1602: warning: exported method TrafficClassParser.CondNot should have comment or be unexported (golint)
    • Line 1654: warning: exported type CondBoolContext should have comment or be unexported (golint)
    • Line 1659: warning: exported function NewEmptyCondBoolContext should have comment or be unexported (golint)
    • Line 1666: warning: exported method CondBoolContext.IsCondBoolContext should have comment or be unexported (golint)
    • Line 1668: warning: exported function NewCondBoolContext should have comment or be unexported (golint)
    • Line 1679: warning: exported method CondBoolContext.GetParser should have comment or be unexported (golint)
    • Line 1681: warning: exported method CondBoolContext.BOOL should have comment or be unexported (golint)
    • Line 1685: warning: exported method CondBoolContext.GetRuleContext should have comment or be unexported (golint)
    • Line 1689: warning: exported method CondBoolContext.ToStringTree should have comment or be unexported (golint)
    • Line 1693: warning: exported method CondBoolContext.EnterRule should have comment or be unexported (golint)
    • Line 1699: warning: exported method CondBoolContext.ExitRule should have comment or be unexported (golint)
    • Line 1705: warning: exported method TrafficClassParser.CondBool should have comment or be unexported (golint)
    • Line 1761: warning: exported type CondIPv4Context should have comment or be unexported (golint)
    • Line 1766: warning: exported function NewEmptyCondIPv4Context should have comment or be unexported (golint)
    • Line 1773: warning: exported method CondIPv4Context.IsCondIPv4Context should have comment or be unexported (golint)
    • Line 1775: warning: exported function NewCondIPv4Context should have comment or be unexported (golint)
    • Line 1786: warning: exported method CondIPv4Context.GetParser should have comment or be unexported (golint)
    • Line 1788: warning: exported method CondIPv4Context.MatchSrc should have comment or be unexported (golint)
    • Line 1798: warning: exported method CondIPv4Context.MatchDst should have comment or be unexported (golint)
    • Line 1808: warning: exported method CondIPv4Context.MatchDSCP should have comment or be unexported (golint)
    • Line 1818: warning: exported method CondIPv4Context.MatchTOS should have comment or be unexported (golint)
    • Line 1828: warning: exported method CondIPv4Context.MatchProtocol should have comment or be unexported (golint)
    • Line 1838: warning: exported method CondIPv4Context.GetRuleContext should have comment or be unexported (golint)
    • Line 1842: warning: exported method CondIPv4Context.ToStringTree should have comment or be unexported (golint)
    • Line 1846: warning: exported method CondIPv4Context.EnterRule should have comment or be unexported (golint)
    • Line 1852: warning: exported method CondIPv4Context.ExitRule should have comment or be unexported (golint)
    • Line 1858: warning: exported method TrafficClassParser.CondIPv4 should have comment or be unexported (golint)
    • Line 1935: warning: exported type CondPortContext should have comment or be unexported (golint)
    • Line 1940: warning: exported function NewEmptyCondPortContext should have comment or be unexported (golint)
    • Line 1947: warning: exported method CondPortContext.IsCondPortContext should have comment or be unexported (golint)
    • Line 1949: warning: exported function NewCondPortContext should have comment or be unexported (golint)
    • Line 1960: warning: exported method CondPortContext.GetParser should have comment or be unexported (golint)
    • Line 1962: warning: exported method CondPortContext.MatchSrcPort should have comment or be unexported (golint)
    • Line 1972: warning: exported method CondPortContext.MatchSrcPortRange should have comment or be unexported (golint)
    • Line 1982: warning: exported method CondPortContext.MatchDstPort should have comment or be unexported (golint)
    • Line 1992: warning: exported method CondPortContext.MatchDstPortRange should have comment or be unexported (golint)
    • Line 2002: warning: exported method CondPortContext.GetRuleContext should have comment or be unexported (golint)
    • Line 2006: warning: exported method CondPortContext.ToStringTree should have comment or be unexported (golint)
    • Line 2010: warning: exported method CondPortContext.EnterRule should have comment or be unexported (golint)
    • Line 2016: warning: exported method CondPortContext.ExitRule should have comment or be unexported (golint)
    • Line 2022: warning: exported method TrafficClassParser.CondPort should have comment or be unexported (golint)
    • Line 2089: warning: exported type CondContext should have comment or be unexported (golint)
    • Line 2094: warning: exported function NewEmptyCondContext should have comment or be unexported (golint)
    • Line 2101: warning: exported method CondContext.IsCondContext should have comment or be unexported (golint)
    • Line 2103: warning: exported function NewCondContext should have comment or be unexported (golint)
    • Line 2114: warning: exported method CondContext.GetParser should have comment or be unexported (golint)
    • Line 2116: warning: exported method CondContext.CondAll should have comment or be unexported (golint)
    • Line 2126: warning: exported method CondContext.CondAny should have comment or be unexported (golint)
    • Line 2136: warning: exported method CondContext.CondNot should have comment or be unexported (golint)
    • Line 2146: warning: exported method CondContext.CondIPv4 should have comment or be unexported (golint)
    • Line 2156: warning: exported method CondContext.CondPort should have comment or be unexported (golint)
    • Line 2166: warning: exported method CondContext.CondCls should have comment or be unexported (golint)
    • Line 2176: warning: exported method CondContext.CondBool should have comment or be unexported (golint)
    • Line 2186: warning: exported method CondContext.GetRuleContext should have comment or be unexported (golint)
    • Line 2190: warning: exported method CondContext.ToStringTree should have comment or be unexported (golint)
    • Line 2194: warning: exported method CondContext.EnterRule should have comment or be unexported (golint)
    • Line 2200: warning: exported method CondContext.ExitRule should have comment or be unexported (golint)
    • Line 2206: warning: exported method TrafficClassParser.Cond should have comment or be unexported (golint)
    • Line 2297: warning: exported type TrafficClassContext should have comment or be unexported (golint)
    • Line 2302: warning: exported function NewEmptyTrafficClassContext should have comment or be unexported (golint)
    • Line 2309: warning: exported method TrafficClassContext.IsTrafficClassContext should have comment or be unexported (golint)
    • Line 2311: warning: exported function NewTrafficClassContext should have comment or be unexported (golint)
    • Line 2322: warning: exported method TrafficClassContext.GetParser should have comment or be unexported (golint)
    • Line 2324: warning: exported method TrafficClassContext.Cond should have comment or be unexported (golint)
    • Line 2334: warning: exported method TrafficClassContext.EOF should have comment or be unexported (golint)
    • Line 2338: warning: exported method TrafficClassContext.GetRuleContext should have comment or be unexported (golint)
    • Line 2342: warning: exported method TrafficClassContext.ToStringTree should have comment or be unexported (golint)
    • Line 2346: warning: exported method TrafficClassContext.EnterRule should have comment or be unexported (golint)
    • Line 2352: warning: exported method TrafficClassContext.ExitRule should have comment or be unexported (golint)
    • Line 2358: warning: exported method TrafficClassParser.TrafficClass should have comment or be unexported (golint)
    • scion/go/lib/xtest/convey.go
    • Line 42: warning: should not use dot imports (golint)
    • Line 46: warning: exported type SC should have comment or be unexported (golint)
    • Line 52: warning: exported method SC.Convey should have comment or be unexported (golint)
    • Line 56: warning: exported method SC.So should have comment or be unexported (golint)
    • Line 63: warning: exported method SC.SoMsg should have comment or be unexported (golint)
    • Line 70: warning: exported method SC.Recover should have comment or be unexported (golint)
    • Line 80: warning: exported function Parallel should have comment or be unexported (golint)
    • scion/go/pkg/gateway/config/config.go
    • Line 52: warning: exported method Gateway.Validate should have comment or be unexported (golint)
    • Line 64: warning: exported method Gateway.Sample should have comment or be unexported (golint)
    • Line 68: warning: exported method Gateway.ConfigName should have comment or be unexported (golint)
    • Line 84: warning: exported method Tunnel.Validate should have comment or be unexported (golint)
    • Line 91: warning: exported method Tunnel.Sample should have comment or be unexported (golint)
    • Line 95: warning: exported method Tunnel.ConfigName should have comment or be unexported (golint)
    • scion/go/pkg/cs/tasks.go
    • Line 221: warning: exported method TasksConfig.DRKeyCleaner should have comment or be unexported (golint)
    • Line 232: warning: exported method TasksConfig.DRKeyPrefetcher should have comment or be unexported (golint)
    • Line 259: warning: exported function StartTasks should have comment or be unexported (golint)
    • scion/go/lib/colibri/reservation/types.go
    • Line 39: warning: exported const SegmentIDLen should have comment or be unexported (golint)
    • Line 102: warning: exported const E2EIDLen should have comment or be unexported (golint)
    • Line 161: warning: exported method Tick.ToTime should have comment or be unexported (golint)
    • Line 234: warning: exported method IndexNumber.Add should have comment or be unexported (golint)
    • Line 238: warning: exported method IndexNumber.Sub should have comment or be unexported (golint)
    • Line 418: warning: exported function NewPathEndProps should have comment or be unexported (golint)
    • Line 442: warning: exported type AllocationBeads should have comment or be unexported (golint)
    • Line 466: warning: exported const HopFieldLen should have comment or be unexported (golint)
    • scion/go/pkg/gateway/dataplane/routingtable.go
    • Line 113: warning: exported method RoutingTable.DiagnosticsWrite should have comment or be unexported (golint)
    • Line 158: warning: exported method RoutingTable.SetSession should have comment or be unexported (golint)
    • Line 170: warning: exported method RoutingTable.ClearSession should have comment or be unexported (golint)
    • scion/go/lib/ctrl/colibri_mgmt/reservation_ids.go
    • Line 15: warning: don't use an underscore in package name (golint)
    • Line 21: warning: exported type SegmentReservationID should have comment or be unexported (golint)
    • Line 26: warning: exported method SegmentReservationID.ProtoId should have comment or be unexported (golint)
    • Line 30: warning: exported type E2EReservationID should have comment or be unexported (golint)
    • Line 35: warning: exported method E2EReservationID.ProtoId should have comment or be unexported (golint)
    • scion/go/lib/pktcls/pred_ipv4.go
    • Line 43: warning: exported method IPv4MatchSource.Type should have comment or be unexported (golint)
    • Line 47: warning: exported method IPv4MatchSource.Eval should have comment or be unexported (golint)
    • Line 58: warning: exported method IPv4MatchSource.MarshalJSON should have comment or be unexported (golint)
    • Line 67: warning: exported method IPv4MatchSource.UnmarshalJSON should have comment or be unexported (golint)
    • Line 88: warning: exported method IPv4MatchDestination.Type should have comment or be unexported (golint)
    • Line 92: warning: exported method IPv4MatchDestination.Eval should have comment or be unexported (golint)
    • Line 103: warning: exported method IPv4MatchDestination.MarshalJSON should have comment or be unexported (golint)
    • Line 111: warning: exported method IPv4MatchDestination.UnmarshalJSON should have comment or be unexported (golint)
    • Line 131: warning: exported method IPv4MatchToS.Type should have comment or be unexported (golint)
    • Line 135: warning: exported method IPv4MatchToS.Eval should have comment or be unexported (golint)
    • Line 143: warning: exported method IPv4MatchToS.MarshalJSON should have comment or be unexported (golint)
    • Line 155: warning: exported method IPv4MatchToS.UnmarshalJSON should have comment or be unexported (golint)
    • Line 172: warning: exported method IPv4MatchDSCP.Type should have comment or be unexported (golint)
    • Line 176: warning: exported method IPv4MatchDSCP.Eval should have comment or be unexported (golint)
    • Line 184: warning: exported method IPv4MatchDSCP.MarshalJSON should have comment or be unexported (golint)
    • Line 195: warning: exported method IPv4MatchDSCP.UnmarshalJSON should have comment or be unexported (golint)
    • Line 207: warning: comment on exported type IPv4MatchProtocol should be of the form "IPv4MatchProtocol ..." (with optional leading article) (golint)
    • Line 212: warning: exported method IPv4MatchProtocol.Type should have comment or be unexported (golint)
    • Line 216: warning: exported method IPv4MatchProtocol.Eval should have comment or be unexported (golint)
    • Line 224: warning: exported method IPv4MatchProtocol.MarshalJSON should have comment or be unexported (golint)
    • Line 232: warning: exported method IPv4MatchProtocol.UnmarshalJSON should have comment or be unexported (golint)
    • scion/go/lib/xtest/grpc.go
    • Line 26: warning: exported type GRPCService should have comment or be unexported (golint)
    • Line 31: warning: exported function NewGRPCService should have comment or be unexported (golint)
    • Line 38: warning: exported method GRPCService.Server should have comment or be unexported (golint)
    • Line 42: warning: exported method GRPCService.Start should have comment or be unexported (golint)
    • Line 47: warning: exported method GRPCService.Dial should have comment or be unexported (golint)
    • scion/go/pkg/storage/storage.go
    • Line 49: warning: exported const DefaultTrustDBPath should have comment (or a comment on this block) or be unexported (golint)
    • Line 107: warning: exported method DBConfig.WithDefault should have comment or be unexported (golint)
    • Line 122: warning: exported method DBConfig.InitDefaults should have comment or be unexported (golint)
    • Line 128: warning: exported method DBConfig.Validate should have comment or be unexported (golint)
    • Line 142: warning: exported function NewBeaconStorage should have comment or be unexported (golint)
    • Line 152: warning: exported function NewPathStorage should have comment or be unexported (golint)
    • Line 162: warning: exported function NewRevocationStorage should have comment or be unexported (golint)
    • Line 166: warning: exported function NewTrustStorage should have comment or be unexported (golint)
    • Line 176: warning: exported function NewRenewalStorage should have comment or be unexported (golint)
    • Line 186: warning: exported function NewDRKeyLvl1Storage should have comment or be unexported (golint)
    • Line 196: warning: exported function NewDRKeyLvl2Storage should have comment or be unexported (golint)
    • scion/go/cs/config/config.go
    • Line 209: warning: exported type PSConfig should have comment or be unexported (golint)
    • Line 219: warning: exported method PSConfig.InitDefaults should have comment or be unexported (golint)
    • Line 225: warning: exported method PSConfig.Validate should have comment or be unexported (golint)
    • Line 232: warning: exported method PSConfig.Sample should have comment or be unexported (golint)
    • Line 236: warning: exported method PSConfig.ConfigName should have comment or be unexported (golint)
    • Line 291: warning: exported method CA.Validate should have comment or be unexported (golint)
    • Line 309: warning: exported method CA.Sample should have comment or be unexported (golint)
    • Line 314: warning: exported method CA.ConfigName should have comment or be unexported (golint)
    • Line 318: warning: exported type CAMode should have comment or be unexported (golint)
    • Line 321: warning: exported const Delegating should have comment (or a comment on this block) or be unexported (golint)
    • Line 341: warning: exported method CAService.InitDefault should have comment or be unexported (golint)
    • Line 347: warning: exported method CAService.Sample should have comment or be unexported (golint)
    • Line 351: warning: exported method CAService.ConfigName should have comment or be unexported (golint)
    • scion/go/lib/sock/reliable/packetizer.go
    • Line 35: warning: exported function NewReadPacketizer should have comment or be unexported (golint)
    • Line 81: warning: receiver name reader should be consistent with previous receiver name r for ReadPacketizer (golint)
    • Line 104: warning: exported function NewWriteStreamer should have comment or be unexported (golint)
    • scion/go/lib/infra/modules/segverifier/segverifier.go
    • Line 120: warning: exported method Unit.Len should have comment or be unexported (golint)
    • Line 157: warning: exported type UnitResult should have comment or be unexported (golint)
    • Line 170: warning: exported type ElemResult should have comment or be unexported (golint)
    • Line 186: warning: exported function VerifySegment should have comment or be unexported (golint)
    • Line 211: warning: exported function VerifyRevInfo should have comment or be unexported (golint)
    • scion/go/lib/sock/reliable/reconnect/io.go
    • Line 30: warning: exported type BaseOperation should have comment or be unexported (golint)
    • Line 35: warning: exported type WriteOperation should have comment or be unexported (golint)
    • Line 39: warning: exported method WriteOperation.IsWrite should have comment or be unexported (golint)
    • Line 39: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 43: warning: exported type WriteToOperation should have comment or be unexported (golint)
    • Line 48: warning: exported method WriteToOperation.Do should have comment or be unexported (golint)
    • Line 54: warning: exported type ReadOperation should have comment or be unexported (golint)
    • Line 58: warning: exported method ReadOperation.IsWrite should have comment or be unexported (golint)
    • Line 58: warning: receiver name should not be an underscore, omit the name if it is unused (golint)
    • Line 62: warning: exported type ReadFromOperation should have comment or be unexported (golint)
    • Line 67: warning: exported method ReadFromOperation.Do should have comment or be unexported (golint)
    • scion/go/dispatcher/config/config.go
    • Line 34: warning: exported type Config should have comment or be unexported (golint)
    • Line 56: warning: exported method Config.InitDefaults should have comment or be unexported (golint)
    • Line 59: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 75: warning: exported method Config.Sample should have comment or be unexported (golint)
    • Line 88: warning: exported method Config.ConfigName should have comment or be unexported (golint)
    • scion/go/lib/slayers/path/scion/base.go
    • Line 28: warning: exported const PathType should have comment or be unexported (golint)
    • Line 30: warning: exported function RegisterPath should have comment or be unexported (golint)
    • Line 51: warning: exported method Base.DecodeFromBytes should have comment or be unexported (golint)
    • scion/go/lib/spse/spse.go
    • Line 54: warning: comment on exported const SecModeLength should be of the form "SecModeLength ..." (golint)
    • Line 56: warning: exported const TimestampLength should have comment (or a comment on this block) or be unexported (golint)
    • Line 58: warning: comment on exported const AesCMacMetaLength should be of the form "AesCMacMetaLength ..." (golint)
    • Line 64: warning: comment on exported const AesCMacAuthLength should be of the form "AesCMacAuthLength ..." (golint)
    • Line 76: warning: exported type SecMode should have comment or be unexported (golint)
    • Line 79: warning: comment on exported const AesCMac should be of the form "AesCMac ..." (golint)
    • Line 81: warning: exported const HmacSha256 should have comment (or a comment on this block) or be unexported (golint)
    • Line 107: warning: exported method BaseExtn.Reverse should have comment or be unexported (golint)
    • Line 126: warning: exported function NewExtn should have comment or be unexported (golint)
    • Line 154: warning: comment on exported method Extn.SetMetadata should be of the form "SetMetadata ..." (golint)
    • Line 164: warning: comment on exported method Extn.SetAuthenticator should be of the form "SetAuthenticator ..." (golint)
    • Line 189: warning: exported method Extn.Pack should have comment or be unexported (golint)
    • Line 197: warning: exported method Extn.Len should have comment or be unexported (golint)
    • scion/go/lib/pathdb/sqlite/sqlite.go
    • Line 29: warning: a blank import should be only in a main or test package, or have a comment justifying it (golint)
    • Line 52: warning: exported type Backend should have comment or be unexported (golint)
    • Line 73: warning: exported method Backend.Close should have comment or be unexported (golint)
    • Line 77: warning: exported method Backend.SetMaxOpenConns should have comment or be unexported (golint)
    • Line 80: warning: exported method Backend.SetMaxIdleConns should have comment or be unexported (golint)
    • Line 84: warning: exported method Backend.BeginTransaction should have comment or be unexported (golint)
    • scion/go/pkg/api/config.go
    • Line 29: warning: exported type Config should have comment or be unexported (golint)
    • Line 35: warning: exported method Config.Sample should have comment or be unexported (golint)
    • Line 39: warning: exported method Config.ConfigName should have comment or be unexported (golint)
    • scion/go/cs/reservation/segment/index.go
    • Line 24: warning: exported type IndexState should have comment or be unexported (golint)
    • Line 68: warning: exported method Indices.Len should have comment or be unexported (golint)
    • Line 69: warning: exported method Indices.GetIndexNumber should have comment or be unexported (golint)
    • Line 70: warning: exported method Indices.GetExpiration should have comment or be unexported (golint)
    • Line 71: warning: exported method Indices.GetAllocBW should have comment or be unexported (golint)
    • Line 72: warning: exported method Indices.GetToken should have comment or be unexported (golint)
    • Line 73: warning: exported method Indices.Rotate should have comment or be unexported (golint)
    • scion/go/lib/ctrl/colibri_mgmt/e2e_cleanup.go
    • Line 15: warning: don't use an underscore in package name (golint)
    • Line 21: warning: exported type E2ECleanup should have comment or be unexported (golint)
    • Line 25: warning: exported method E2ECleanup.ProtoId should have comment or be unexported (golint)
    • Line 29: warning: exported type E2ECleanupRes should have comment or be unexported (golint)
    • Line 34: warning: exported method E2ECleanupRes.ProtoId should have comment or be unexported (golint)
    • scion/go/lib/slayers/extn.go
    • Line 216: warning: exported method HopByHopExtn.LayerType should have comment or be unexported (golint)
    • Line 220: warning: exported method HopByHopExtn.CanDecode should have comment or be unexported (golint)
    • Line 224: warning: exported method HopByHopExtn.NextLayerType should have comment or be unexported (golint)
    • Line 228: warning: exported method HopByHopExtn.LayerPayload should have comment or be unexported (golint)
    • Line 282: warning: exported method EndToEndExtn.LayerType should have comment or be unexported (golint)
    • Line 286: warning: exported method EndToEndExtn.CanDecode should have comment or be unexported (golint)
    • Line 290: warning: exported method EndToEndExtn.NextLayerType should have comment or be unexported (golint)
    • Line 294: warning: exported method EndToEndExtn.LayerPayload should have comment or be unexported (golint)
    • scion/go/pkg/app/path/path.go
    • Line 212: warning: exported function DefaultColorScheme should have comment or be unexported (golint)
    • Line 236: warning: exported method ColorScheme.KeyValue should have comment or be unexported (golint)
    • Line 240: warning: exported method ColorScheme.KeyValues should have comment or be unexported (golint)
    • Line 251: warning: exported method ColorScheme.Path should have comment or be unexported (golint)
    • Line 282: warning: exported type ProbeConfig should have comment or be unexported (golint)
    • Line 295: warning: exported type Option should have comment or be unexported (golint)
    • Line 305: warning: exported function WithInteractive should have comment or be unexported (golint)
    • Line 311: warning: exported function WithRefresh should have comment or be unexported (golint)
    • Line 317: warning: exported function WithSequence should have comment or be unexported (golint)
    • Line 323: warning: exported function WithColorScheme should have comment or be unexported (golint)
    • Line 329: warning: exported function WithProbing should have comment or be unexported (golint)
    • scion/antlr/sequence/sequence_parser.go
    • Line 72: warning: exported type SequenceParser should have comment or be unexported (golint)
    • Line 76: warning: exported function NewSequenceParser should have comment or be unexported (golint)
    • Line 111: warning: don't use underscores in Go names; const SequenceParserRULE_start should be SequenceParserRULEStart (golint)
    • Line 112: warning: don't use underscores in Go names; const SequenceParserRULE_sequence should be SequenceParserRULESequence (golint)
    • Line 113: warning: don't use underscores in Go names; const SequenceParserRULE_onehop should be SequenceParserRULEOnehop (golint)
    • Line 114: warning: don't use underscores in Go names; const SequenceParserRULE_isd should be SequenceParserRULEIsd (golint)
    • Line 115: warning: don't use underscores in Go names; const SequenceParserRULE_as should be SequenceParserRULEAs (golint)
    • Line 116: warning: don't use underscores in Go names; const SequenceParserRULE_iface should be SequenceParserRULEIface (golint)
    • Line 130: warning: exported type StartContext should have comment or be unexported (golint)
    • Line 135: warning: exported function NewEmptyStartContext should have comment or be unexported (golint)
    • Line 142: warning: exported method StartContext.IsStartContext should have comment or be unexported (golint)
    • Line 144: warning: exported function NewStartContext should have comment or be unexported (golint)
    • Line 155: warning: exported method StartContext.GetParser should have comment or be unexported (golint)
    • Line 157: warning: exported method StartContext.Sequence should have comment or be unexported (golint)
    • Line 167: warning: exported method StartContext.EOF should have comment or be unexported (golint)
    • Line 171: warning: exported method StartContext.GetRuleContext should have comment or be unexported (golint)
    • Line 175: warning: exported method StartContext.ToStringTree should have comment or be unexported (golint)
    • Line 179: warning: exported method StartContext.EnterRule should have comment or be unexported (golint)
    • Line 185: warning: exported method StartContext.ExitRule should have comment or be unexported (golint)
    • Line 191: warning: exported method SequenceParser.Start should have comment or be unexported (golint)
    • Line 235: warning: exported type SequenceContext should have comment or be unexported (golint)
    • Line 240: warning: exported function NewEmptySequenceContext should have comment or be unexported (golint)
    • Line 247: warning: exported method SequenceContext.IsSequenceContext should have comment or be unexported (golint)
    • Line 249: warning: exported function NewSequenceContext should have comment or be unexported (golint)
    • Line 260: warning: exported method SequenceContext.GetParser should have comment or be unexported (golint)
    • Line 262: warning: exported method SequenceContext.CopyFrom should have comment or be unexported (golint)
    • Line 266: warning: exported method SequenceContext.GetRuleContext should have comment or be unexported (golint)
    • Line 270: warning: exported method SequenceContext.ToStringTree should have comment or be unexported (golint)
    • Line 274: warning: exported type OrContext should have comment or be unexported (golint)
    • Line 278: warning: exported function NewOrContext should have comment or be unexported (golint)
    • Line 288: warning: exported method OrContext.GetRuleContext should have comment or be unexported (golint)
    • Line 292: warning: exported method OrContext.AllSequence should have comment or be unexported (golint)
    • Line 305: warning: exported method OrContext.Sequence should have comment or be unexported (golint)
    • Line 315: warning: exported method OrContext.OR should have comment or be unexported (golint)
    • Line 319: warning: exported method OrContext.EnterRule should have comment or be unexported (golint)
    • Line 325: warning: exported method OrContext.ExitRule should have comment or be unexported (golint)
    • Line 331: warning: exported type ConcatenationContext should have comment or be unexported (golint)
    • Line 335: warning: exported function NewConcatenationContext should have comment or be unexported (golint)
    • Line 345: warning: exported method ConcatenationContext.GetRuleContext should have comment or be unexported (golint)
    • Line 349: warning: exported method ConcatenationContext.AllSequence should have comment or be unexported (golint)
    • Line 362: warning: exported method ConcatenationContext.Sequence should have comment or be unexported (golint)
    • Line 372: warning: exported method ConcatenationContext.EnterRule should have comment or be unexported (golint)
    • Line 378: warning: exported method ConcatenationContext.ExitRule should have comment or be unexported (golint)
    • Line 384: warning: exported type QuestionMarkContext should have comment or be unexported (golint)
    • Line 388: warning: exported function NewQuestionMarkContext should have comment or be unexported (golint)
    • Line 398: warning: exported method QuestionMarkContext.GetRuleContext should have comment or be unexported (golint)
    • Line 402: warning: exported method QuestionMarkContext.Sequence should have comment or be unexported (golint)
    • Line 412: warning: exported method QuestionMarkContext.QUESTIONMARK should have comment or be unexported (golint)
    • Line 416: warning: exported method QuestionMarkContext.EnterRule should have comment or be unexported (golint)
    • Line 422: warning: exported method QuestionMarkContext.ExitRule should have comment or be unexported (golint)
    • Line 428: warning: exported type HopContext should have comment or be unexported (golint)
    • Line 432: warning: exported function NewHopContext should have comment or be unexported (golint)
    • Line 442: warning: exported method HopContext.GetRuleContext should have comment or be unexported (golint)
    • Line 446: warning: exported method HopContext.Onehop should have comment or be unexported (golint)
    • Line 456: warning: exported method HopContext.EnterRule should have comment or be unexported (golint)
    • Line 462: warning: exported method HopContext.ExitRule should have comment or be unexported (golint)
    • Line 468: warning: exported type PlusContext should have comment or be unexported (golint)
    • Line 472: warning: exported function NewPlusContext should have comment or be unexported (golint)
    • Line 482: warning: exported method PlusContext.GetRuleContext should have comment or be unexported (golint)
    • Line 486: warning: exported method PlusContext.Sequence should have comment or be unexported (golint)
    • Line 496: warning: exported method PlusContext.PLUS should have comment or be unexported (golint)
    • Line 500: warning: exported method PlusContext.EnterRule should have comment or be unexported (golint)
    • Line 506: warning: exported method PlusContext.ExitRule should have comment or be unexported (golint)
    • Line 512: warning: exported type AsteriskContext should have comment or be unexported (golint)
    • Line 516: warning: exported function NewAsteriskContext should have comment or be unexported (golint)
    • Line 526: warning: exported method AsteriskContext.GetRuleContext should have comment or be unexported (golint)
    • Line 530: warning: exported method AsteriskContext.Sequence should have comment or be unexported (golint)
    • Line 540: warning: exported method AsteriskContext.ASTERISK should have comment or be unexported (golint)
    • Line 544: warning: exported method AsteriskContext.EnterRule should have comment or be unexported (golint)
    • Line 550: warning: exported method AsteriskContext.ExitRule should have comment or be unexported (golint)
    • Line 556: warning: exported type ParenthesesContext should have comment or be unexported (golint)
    • Line 560: warning: exported function NewParenthesesContext should have comment or be unexported (golint)
    • Line 570: warning: exported method ParenthesesContext.GetRuleContext should have comment or be unexported (golint)
    • Line 574: warning: exported method ParenthesesContext.LPAR should have comment or be unexported (golint)
    • Line 578: warning: exported method ParenthesesContext.Sequence should have comment or be unexported (golint)
    • Line 588: warning: exported method ParenthesesContext.RPAR should have comment or be unexported (golint)
    • Line 592: warning: exported method ParenthesesContext.EnterRule should have comment or be unexported (golint)
    • Line 598: warning: exported method ParenthesesContext.ExitRule should have comment or be unexported (golint)
    • Line 604: warning: exported method SequenceParser.Sequence should have comment or be unexported (golint)
    • Line 775: warning: exported type OnehopContext should have comment or be unexported (golint)
    • Line 780: warning: exported function NewEmptyOnehopContext should have comment or be unexported (golint)
    • Line 787: warning: exported method OnehopContext.IsOnehopContext should have comment or be unexported (golint)
    • Line 789: warning: exported function NewOnehopContext should have comment or be unexported (golint)
    • Line 800: warning: exported method OnehopContext.GetParser should have comment or be unexported (golint)
    • Line 802: warning: exported method OnehopContext.CopyFrom should have comment or be unexported (golint)
    • Line 806: warning: exported method OnehopContext.GetRuleContext should have comment or be unexported (golint)
    • Line 810: warning: exported method OnehopContext.ToStringTree should have comment or be unexported (golint)
    • Line 814: warning: exported type ISDASHopContext should have comment or be unexported (golint)
    • Line 818: warning: exported function NewISDASHopContext should have comment or be unexported (golint)
    • Line 828: warning: exported method ISDASHopContext.GetRuleContext should have comment or be unexported (golint)
    • Line 832: warning: exported method ISDASHopContext.Isd should have comment or be unexported (golint)
    • Line 842: warning: exported method ISDASHopContext.As should have comment or be unexported (golint)
    • Line 852: warning: exported method ISDASHopContext.EnterRule should have comment or be unexported (golint)
    • Line 858: warning: exported method ISDASHopContext.ExitRule should have comment or be unexported (golint)
    • Line 864: warning: exported type ISDASIFIFHopContext should have comment or be unexported (golint)
    • Line 868: warning: exported function NewISDASIFIFHopContext should have comment or be unexported (golint)
    • Line 878: warning: exported method ISDASIFIFHopContext.GetRuleContext should have comment or be unexported (golint)
    • Line 882: warning: exported method ISDASIFIFHopContext.Isd should have comment or be unexported (golint)
    • Line 892: warning: exported method ISDASIFIFHopContext.As should have comment or be unexported (golint)
    • Line 902: warning: exported method ISDASIFIFHopContext.HASH should have comment or be unexported (golint)
    • Line 906: warning: exported method ISDASIFIFHopContext.AllIface should have comment or be unexported (golint)
    • Line 919: warning: exported method ISDASIFIFHopContext.Iface should have comment or be unexported (golint)
    • Line 929: warning: exported method ISDASIFIFHopContext.COMMA should have comment or be unexported (golint)
    • Line 933: warning: exported method ISDASIFIFHopContext.EnterRule should have comment or be unexported (golint)
    • Line 939: warning: exported method ISDASIFIFHopContext.ExitRule should have comment or be unexported (golint)
    • Line 945: warning: exported type ISDHopContext should have comment or be unexported (golint)
    • Line 949: warning: exported function NewISDHopContext should have comment or be unexported (golint)
    • Line 959: warning: exported method ISDHopContext.GetRuleContext should have comment or be unexported (golint)
    • Line 963: warning: exported method ISDHopContext.Isd should have comment or be unexported (golint)
    • Line 973: warning: exported method ISDHopContext.EnterRule should have comment or be unexported (golint)
    • Line 979: warning: exported method ISDHopContext.ExitRule should have comment or be unexported (golint)
    • Line 985: warning: exported type ISDASIFHopContext should have comment or be unexported (golint)
    • Line 989: warning: exported function NewISDASIFHopContext should have comment or be unexported (golint)
    • Line 999: warning: exported method ISDASIFHopContext.GetRuleContext should have comment or be unexported (golint)
    • Line 1003: warning: exported method ISDASIFHopContext.Isd should have comment or be unexported (golint)
    • Line 1013: warning: exported method ISDASIFHopContext.As should have comment or be unexported (golint)
    • Line 1023: warning: exported method ISDASIFHopContext.HASH should have comment or be unexported (golint)
    • Line 1027: warning: exported method ISDASIFHopContext.Iface should have comment or be unexported (golint)
    • Line 1037: warning: exported method ISDASIFHopContext.EnterRule should have comment or be unexported (golint)
    • Line 1043: warning: exported method ISDASIFHopContext.ExitRule should have comment or be unexported (golint)
    • Line 1049: warning: exported method SequenceParser.Onehop should have comment or be unexported (golint)
    • Line 1156: warning: exported type IsdContext should have comment or be unexported (golint)
    • Line 1161: warning: exported function NewEmptyIsdContext should have comment or be unexported (golint)
    • Line 1168: warning: exported method IsdContext.IsIsdContext should have comment or be unexported (golint)
    • Line 1170: warning: exported function NewIsdContext should have comment or be unexported (golint)
    • Line 1181: warning: exported method IsdContext.GetParser should have comment or be unexported (golint)
    • Line 1183: warning: exported method IsdContext.CopyFrom should have comment or be unexported (golint)
    • Line 1187: warning: exported method IsdContext.GetRuleContext should have comment or be unexported (golint)
    • Line 1191: warning: exported method IsdContext.ToStringTree should have comment or be unexported (golint)
    • Line 1195: warning: exported type WildcardISDContext should have comment or be unexported (golint)
    • Line 1199: warning: exported function NewWildcardISDContext should have comment or be unexported (golint)
    • Line 1209: warning: exported method WildcardISDContext.GetRuleContext should have comment or be unexported (golint)
    • Line 1213: warning: exported method WildcardISDContext.ZERO should have comment or be unexported (golint)
    • Line 1217: warning: exported method WildcardISDContext.EnterRule should have comment or be unexported (golint)
    • Line 1223: warning: exported method WildcardISDContext.ExitRule should have comment or be unexported (golint)
    • Line 1229: warning: exported type ISDContext should have comment or be unexported (golint)
    • Line 1233: warning: exported function NewISDContext should have comment or be unexported (golint)
    • Line 1243: warning: exported method ISDContext.GetRuleContext should have comment or be unexported (golint)
    • Line 1247: warning: exported method ISDContext.NUM should have comment or be unexported (golint)
    • Line 1251: warning: exported method ISDContext.EnterRule should have comment or be unexported (golint)
    • Line 1257: warning: exported method ISDContext.ExitRule should have comment or be unexported (golint)
    • Line 1263: warning: exported method SequenceParser.Isd should have comment or be unexported (golint)
    • Line 1321: warning: exported type AsContext should have comment or be unexported (golint)
    • Line 1326: warning: exported function NewEmptyAsContext should have comment or be unexported (golint)
    • Line 1333: warning: exported method AsContext.IsAsContext should have comment or be unexported (golint)
    • Line 1335: warning: exported function NewAsContext should have comment or be unexported (golint)
    • Line 1346: warning: exported method AsContext.GetParser should have comment or be unexported (golint)
    • Line 1348: warning: exported method AsContext.CopyFrom should have comment or be unexported (golint)
    • Line 1352: warning: exported method AsContext.GetRuleContext should have comment or be unexported (golint)
    • Line 1356: warning: exported method AsContext.ToStringTree should have comment or be unexported (golint)
    • Line 1360: warning: exported type ASContext should have comment or be unexported (golint)
    • Line 1364: warning: exported function NewASContext should have comment or be unexported (golint)
    • Line 1374: warning: exported method ASContext.GetRuleContext should have comment or be unexported (golint)
    • Line 1378: warning: exported method ASContext.AS should have comment or be unexported (golint)
    • Line 1382: warning: exported method ASContext.EnterRule should have comment or be unexported (golint)
    • Line 1388: warning: exported method ASContext.ExitRule should have comment or be unexported (golint)
    • Line 1394: warning: exported type LegacyASContext should have comment or be unexported (golint)
    • Line 1398: warning: exported function NewLegacyASContext should have comment or be unexported (golint)
    • Line 1408: warning: exported method LegacyASContext.GetRuleContext should have comment or be unexported (golint)
    • Line 1412: warning: exported method LegacyASContext.LEGACYAS should have comment or be unexported (golint)
    • Line 1416: warning: exported method LegacyASContext.EnterRule should have comment or be unexported (golint)
    • Line 1422: warning: exported method LegacyASContext.ExitRule should have comment or be unexported (golint)
    • Line 1428: warning: exported type WildcardASContext should have comment or be unexported (golint)
    • Line 1432: warning: exported function NewWildcardASContext should have comment or be unexported (golint)
    • Line 1442: warning: exported method WildcardASContext.GetRuleContext should have comment or be unexported (golint)
    • Line 1446: warning: exported method WildcardASContext.WILDCARDAS should have comment or be unexported (golint)
    • Line 1450: warning: exported method WildcardASContext.EnterRule should have comment or be unexported (golint)
    • Line 1456: warning: exported method WildcardASContext.ExitRule should have comment or be unexported (golint)
    • Line 1462: warning: exported method SequenceParser.As should have comment or be unexported (golint)
    • Line 1528: warning: exported type IfaceContext should have comment or be unexported (golint)
    • Line 1533: warning: exported function NewEmptyIfaceContext should have comment or be unexported (golint)
    • Line 1540: warning: exported method IfaceContext.IsIfaceContext should have comment or be unexported (golint)
    • Line 1542: warning: exported function NewIfaceContext should have comment or be unexported (golint)
    • Line 1553: warning: exported method IfaceContext.GetParser should have comment or be unexported (golint)
    • Line 1555: warning: exported method IfaceContext.CopyFrom should have comment or be unexported (golint)
    • Line 1559: warning: exported method IfaceContext.GetRuleContext should have comment or be unexported (golint)
    • Line 1563: warning: exported method IfaceContext.ToStringTree should have comment or be unexported (golint)
    • Line 1567: warning: exported type IFaceContext should have comment or be unexported (golint)
    • Line 1571: warning: exported function NewIFaceContext should have comment or be unexported (golint)
    • Line 1581: warning: exported method IFaceContext.GetRuleContext should have comment or be unexported (golint)
    • Line 1585: warning: exported method IFaceContext.NUM should have comment or be unexported (golint)
    • Line 1589: warning: exported method IFaceContext.EnterRule should have comment or be unexported (golint)
    • Line 1595: warning: exported method IFaceContext.ExitRule should have comment or be unexported (golint)
    • Line 1601: warning: exported type WildcardIFaceContext should have comment or be unexported (golint)
    • Line 1605: warning: exported function NewWildcardIFaceContext should have comment or be unexported (golint)
    • Line 1615: warning: exported method WildcardIFaceContext.GetRuleContext should have comment or be unexported (golint)
    • Line 1619: warning: exported method WildcardIFaceContext.ZERO should have comment or be unexported (golint)
    • Line 1623: warning: exported method WildcardIFaceContext.EnterRule should have comment or be unexported (golint)
    • Line 1629: warning: exported method WildcardIFaceContext.ExitRule should have comment or be unexported (golint)
    • Line 1635: warning: exported method SequenceParser.Iface should have comment or be unexported (golint)
    • Line 1682: warning: exported method SequenceParser.Sempred should have comment or be unexported (golint)
    • Line 1696: warning: exported method SequenceParser.Sequence_Sempred should have comment or be unexported (golint)
    • Line 1696: warning: don't use underscores in Go names; method Sequence_Sempred should be SequenceSempred (golint)
    • scion/go/lib/addr/host.go
    • Line 27: warning: exported type HostAddrType should have comment or be unexported (golint)
    • Line 30: warning: exported const HostTypeNone should have comment (or a comment on this block) or be unexported (golint)
    • Line 51: warning: exported const HostLenNone should have comment (or a comment on this block) or be unexported (golint)
    • Line 67: warning: exported const SvcDS should have comment (or a comment on this block) or be unexported (golint)
    • Line 78: warning: exported type HostAddr should have comment or be unexported (golint)
    • Line 90: warning: exported type HostNone should have comment or be unexported (golint)
    • Line 92: warning: exported method HostNone.Size should have comment or be unexported (golint)
    • Line 96: warning: exported method HostNone.Type should have comment or be unexported (golint)
    • Line 100: warning: exported method HostNone.Pack should have comment or be unexported (golint)
    • Line 104: warning: exported method HostNone.IP should have comment or be unexported (golint)
    • Line 108: warning: exported method HostNone.Copy should have comment or be unexported (golint)
    • Line 112: warning: exported method HostNone.Equal should have comment or be unexported (golint)
    • Line 123: warning: exported type HostIPv4 should have comment or be unexported (golint)
    • Line 125: warning: exported method HostIPv4.Size should have comment or be unexported (golint)
    • Line 129: warning: exported method HostIPv4.Type should have comment or be unexported (golint)
    • Line 133: warning: exported method HostIPv4.Pack should have comment or be unexported (golint)
    • Line 137: warning: exported method HostIPv4.IP should have comment or be unexported (golint)
    • Line 142: warning: exported method HostIPv4.Copy should have comment or be unexported (golint)
    • Line 146: warning: exported method HostIPv4.Equal should have comment or be unexported (golint)
    • Line 157: warning: exported type HostIPv6 should have comment or be unexported (golint)
    • Line 159: warning: exported method HostIPv6.Size should have comment or be unexported (golint)
    • Line 163: warning: exported method HostIPv6.Type should have comment or be unexported (golint)
    • Line 167: warning: exported method HostIPv6.Pack should have comment or be unexported (golint)
    • Line 171: warning: exported method HostIPv6.IP should have comment or be unexported (golint)
    • Line 175: warning: exported method HostIPv6.Copy should have comment or be unexported (golint)
    • Line 179: warning: exported method HostIPv6.Equal should have comment or be unexported (golint)
    • Line 190: warning: exported type HostSVC should have comment or be unexported (golint)
    • Line 221: warning: exported method HostSVC.Size should have comment or be unexported (golint)
    • Line 225: warning: exported method HostSVC.Type should have comment or be unexported (golint)
    • Line 229: warning: exported method HostSVC.Pack should have comment or be unexported (golint)
    • Line 235: warning: exported method HostSVC.PackWithPad should have comment or be unexported (golint)
    • Line 241: warning: exported method HostSVC.IP should have comment or be unexported (golint)
    • Line 245: warning: exported method HostSVC.IsMulticast should have comment or be unexported (golint)
    • Line 249: warning: exported method HostSVC.Base should have comment or be unexported (golint)
    • Line 253: warning: exported method HostSVC.Multicast should have comment or be unexported (golint)
    • Line 257: warning: exported method HostSVC.Copy should have comment or be unexported (golint)
    • Line 261: warning: exported method HostSVC.Equal should have comment or be unexported (golint)
    • Line 294: warning: exported method HostSVC.Network should have comment or be unexported (golint)
    • Line 298: warning: exported function HostFromRaw should have comment or be unexported (golint)
    • Line 319: warning: exported function HostFromIP should have comment or be unexported (golint)
    • Line 326: warning: exported function HostFromIPStr should have comment or be unexported (golint)
    • Line 334: warning: exported function HostLen should have comment or be unexported (golint)
    • Line 351: warning: exported function HostTypeCheck should have comment or be unexported (golint)
    • scion/go/lib/ctrl/seg/hop.go
    • Line 27: warning: exported type HopEntry should have comment or be unexported (golint)
    • Line 54: warning: exported type PeerEntry should have comment or be unexported (golint)
    • Line 95: warning: exported type HopField should have comment or be unexported (golint)
    • scion/go/lib/keyconf/keyconf.go
    • Line 29: warning: exported const MasterKey0 should have comment (or a comment on this block) or be unexported (golint)
    • Line 60: warning: exported type Master should have comment or be unexported (golint)
    • Line 65: warning: exported function LoadMaster should have comment or be unexported (golint)
    • Line 77: warning: exported method Master.MarshalJSON should have comment or be unexported (golint)
    • scion/go/pkg/gateway/gateway.go
    • Line 56: warning: exported type WatcherFactory should have comment or be unexported (golint)
    • Line 63: warning: exported method WatcherFactory.New should have comment or be unexported (golint)
    • Line 87: warning: exported type DataplaneSessionFactory should have comment or be unexported (golint)
    • Line 93: warning: exported method DataplaneSessionFactory.New should have comment or be unexported (golint)
    • Line 118: warning: exported type PacketConnFactory should have comment or be unexported (golint)
    • Line 123: warning: exported method PacketConnFactory.New should have comment or be unexported (golint)
    • Line 133: warning: exported type RoutingTableFactory should have comment or be unexported (golint)
    • Line 137: warning: exported method RoutingTableFactory.New should have comment or be unexported (golint)
    • Line 160: warning: exported method SelectAdvertisedRoutes.AdvertiseList should have comment or be unexported (golint)
    • Line 164: warning: exported type RoutingPolicyPublisherAdapter should have comment or be unexported (golint)
    • Line 168: warning: exported method RoutingPolicyPublisherAdapter.PublishRoutingPolicy should have comment or be unexported (golint)
    • Line 172: warning: exported type Gateway should have comment or be unexported (golint)
    • Line 238: warning: exported method Gateway.Run should have comment or be unexported (golint)
    • Line 717: warning: exported function PathUpdateInterval should have comment or be unexported (golint)
    • Line 731: warning: exported function CreateIngressMetrics should have comment or be unexported (golint)
    • Line 748: warning: exported function CreateSessionMetrics should have comment or be unexported (golint)
    • scion/go/lib/slayers/path/onehop/onehop.go
    • Line 26: warning: exported const PathType should have comment or be unexported (golint)
    • Line 28: warning: exported function RegisterPath should have comment or be unexported (golint)
    • Line 47: warning: exported method Path.DecodeFromBytes should have comment or be unexported (golint)
    • Line 64: warning: exported method Path.SerializeTo should have comment or be unexported (golint)
    • Line 124: warning: comment on exported method Path.Reverse should be of the form "Reverse ..." (golint)
    • Line 137: warning: exported method Path.Len should have comment or be unexported (golint)
    • Line 141: warning: exported method Path.Type should have comment or be unexported (golint)
    • scion/go/lib/pktcls/class.go
    • Line 28: warning: comment on exported type Class should be of the form "Class ..." (with optional leading article) (golint)
    • Line 37: warning: exported function NewClass should have comment or be unexported (golint)
    • Line 44: warning: exported method Class.GetName should have comment or be unexported (golint)
    • Line 48: warning: exported method Class.Eval should have comment or be unexported (golint)
    • Line 52: warning: exported method Class.MarshalJSON should have comment or be unexported (golint)
    • Line 56: warning: exported method Class.UnmarshalJSON should have comment or be unexported (golint)
    • Line 67: warning: exported method ClassMap.MarshalJSON should have comment or be unexported (golint)
    • Line 71: warning: exported method ClassMap.UnmarshalJSON should have comment or be unexported (golint)
    • scion/go/lib/snet/router.go
    • Line 23: warning: exported type PathQuerier should have comment or be unexported (golint)
    • Line 40: warning: exported type BaseRouter should have comment or be unexported (golint)
    • scion/go/lib/ctrl/colibri_mgmt/segment_teardown.go
    • Line 15: warning: don't use an underscore in package name (golint)
    • Line 21: warning: exported type SegmentTeardownReq should have comment or be unexported (golint)
    • Line 25: warning: exported method SegmentTeardownReq.ProtoId should have comment or be unexported (golint)
    • Line 29: warning: exported type SegmentTeardownRes should have comment or be unexported (golint)
    • Line 34: warning: exported method SegmentTeardownRes.ProtoId should have comment or be unexported (golint)
    • scion/go/dispatcher/network/app_socket.go
    • Line 38: warning: exported method AppSocketServer.Serve should have comment or be unexported (golint)
    • Line 50: warning: receiver name h should be consistent with previous receiver name s for AppSocketServer (golint)
    • Line 69: warning: exported method AppConnHandler.Handle should have comment or be unexported (golint)
    • scion/go/pkg/gateway/metrics.go
    • Line 156: warning: exported type MetricMeta should have comment or be unexported (golint)
    • Line 162: warning: exported method MetricMeta.NewCounterVec should have comment or be unexported (golint)
    • Line 172: warning: exported method MetricMeta.NewGaugeVec should have comment or be unexported (golint)
    • scion/go/proto/sign.go
    • Line 28: warning: exported type SignS should have comment or be unexported (golint)
    • Line 43: warning: exported function NewSignS should have comment or be unexported (golint)
    • Line 43: warning: don't use underscores in Go names; func parameter type_ should be type (golint)
    • Line 47: warning: exported method SignS.Copy should have comment or be unexported (golint)
    • Line 117: warning: exported method SignS.ProtoId should have comment or be unexported (golint)
    • Line 131: warning: exported type SignedBlobS should have comment or be unexported (golint)
    • Line 136: warning: exported method SignedBlobS.Pack should have comment or be unexported (golint)
    • Line 143: warning: exported method SignedBlobS.ProtoId should have comment or be unexported (golint)
    • scion/go/lib/sciond/apitypes.go
    • Line 28: warning: exported type PathReqFlags should have comment or be unexported (golint)
    • Line 39: warning: exported type Querier should have comment or be unexported (golint)
    • Line 44: warning: exported method Querier.Query should have comment or be unexported (golint)
    • Line 53: warning: exported method RevHandler.RevokeRaw should have comment or be unexported (golint)
    • scion/go/lib/common/l4.go
    • Line 21: warning: exported type L4ProtocolType should have comment or be unexported (golint)
    • Line 24: warning: exported const L4None should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported var L4Protocols should have comment or be unexported (golint)
    • scion/go/lib/hostinfo/hostinfo.go
    • Line 37: warning: exported function FromHostAddr should have comment or be unexported (golint)
    • Line 47: warning: exported function FromUDPAddr should have comment or be unexported (golint)
    • Line 64: warning: exported method Host.Host should have comment or be unexported (golint)
    • Line 74: warning: exported method Host.UDP should have comment or be unexported (golint)
    • Line 90: warning: exported method Host.Underlay should have comment or be unexported (golint)
    • Line 94: warning: exported method Host.Copy should have comment or be unexported (golint)
    • scion/go/lib/util/duration_wrap.go
    • Line 33: warning: exported method DurWrap.UnmarshalText should have comment or be unexported (golint)
    • Line 37: warning: exported method DurWrap.Set should have comment or be unexported (golint)
    • Line 43: warning: exported method DurWrap.MarshalText should have comment or be unexported (golint)
    • scion/go/dispatcher/dispatcher/underlay.go
    • Line 34: warning: exported const ErrUnsupportedL4 should have comment (or a comment on this block) or be unexported (golint)
    • Line 51: warning: exported method NetToRingDataplane.Run should have comment or be unexported (golint)
    • Line 221: warning: exported method UDPDestination.Send should have comment or be unexported (golint)
    • Line 238: warning: exported method SVCDestination.Send should have comment or be unexported (golint)
    • Line 257: warning: exported type SCMPDestination should have comment or be unexported (golint)
    • Line 262: warning: exported method SCMPDestination.Send should have comment or be unexported (golint)
    • Line 275: warning: exported method SCMPHandler.Send should have comment or be unexported (golint)
    • Line 394: warning: exported type Destination should have comment or be unexported (golint)
    • scion/go/lib/util/sync.go
    • Line 29: warning: exported function NewChannelLock should have comment or be unexported (golint)
    • Line 42: warning: exported method ChannelLock.Unlock should have comment or be unexported (golint)
    • Line 60: warning: exported function NewTrigger should have comment or be unexported (golint)
    • Line 67: warning: exported method Trigger.Done should have comment or be unexported (golint)
    • Line 88: warning: exported method Trigger.Triggered should have comment or be unexported (golint)
    • scion/go/lib/underlay/conn/conn.go
    • Line 204: warning: receiver name c should be consistent with previous receiver name cc for connUDPBase (golint)
    • Line 208: warning: receiver name c should be consistent with previous receiver name cc for connUDPBase (golint)
    • Line 212: warning: receiver name c should be consistent with previous receiver name cc for connUDPBase (golint)
    • Line 219: warning: receiver name c should be consistent with previous receiver name cc for connUDPBase (golint)
    • Line 223: warning: receiver name c should be consistent with previous receiver name cc for connUDPBase (golint)
    • Line 227: warning: receiver name c should be consistent with previous receiver name cc for connUDPBase (golint)
    • scion/go/lib/ctrl/seg/extensions/digest/digest.go
    • Line 26: warning: exported type Digest should have comment or be unexported (golint)
    • Line 30: warning: exported const DigestLength should have comment or be unexported (golint)
    • Line 32: warning: exported type Extension should have comment or be unexported (golint)
    • Line 37: warning: exported function ExtensionFromPB should have comment or be unexported (golint)
    • Line 55: warning: exported function ExtensionToPB should have comment or be unexported (golint)
    • Line 68: warning: exported method Digest.Set should have comment or be unexported (golint)
    • Line 72: warning: exported method Digest.Validate should have comment or be unexported (golint)
    • scion/go/lib/pktcls/cond.go
    • Line 44: warning: exported function NewCondAnyOf should have comment or be unexported (golint)
    • Line 48: warning: exported method CondAnyOf.Eval should have comment or be unexported (golint)
    • Line 68: warning: exported method CondAnyOf.Type should have comment or be unexported (golint)
    • Line 72: warning: exported method CondAnyOf.MarshalJSON should have comment or be unexported (golint)
    • Line 76: warning: exported method CondAnyOf.UnmarshalJSON should have comment or be unexported (golint)
    • Line 87: warning: exported function NewCondAllOf should have comment or be unexported (golint)
    • Line 91: warning: exported method CondAllOf.Eval should have comment or be unexported (golint)
    • Line 108: warning: exported method CondAllOf.Type should have comment or be unexported (golint)
    • Line 112: warning: exported method CondAllOf.MarshalJSON should have comment or be unexported (golint)
    • Line 116: warning: exported method CondAllOf.UnmarshalJSON should have comment or be unexported (golint)
    • Line 129: warning: exported function NewCondNot should have comment or be unexported (golint)
    • Line 133: warning: exported method CondNot.Eval should have comment or be unexported (golint)
    • Line 144: warning: exported method CondNot.Type should have comment or be unexported (golint)
    • Line 148: warning: exported method CondNot.MarshalJSON should have comment or be unexported (golint)
    • Line 152: warning: exported method CondNot.UnmarshalJSON should have comment or be unexported (golint)
    • Line 164: warning: exported var CondTrue should have comment or be unexported (golint)
    • Line 168: warning: exported method CondBool.Eval should have comment or be unexported (golint)
    • Line 172: warning: exported method CondBool.Type should have comment or be unexported (golint)
    • Line 187: warning: exported function NewCondIPv4 should have comment or be unexported (golint)
    • Line 191: warning: exported method CondIPv4.Eval should have comment or be unexported (golint)
    • Line 208: warning: exported method CondIPv4.Type should have comment or be unexported (golint)
    • Line 219: warning: exported method CondIPv4.MarshalJSON should have comment or be unexported (golint)
    • Line 223: warning: exported method CondIPv4.UnmarshalJSON should have comment or be unexported (golint)
    • Line 236: warning: exported function NewCondPorts should have comment or be unexported (golint)
    • Line 240: warning: exported method CondPorts.Eval should have comment or be unexported (golint)
    • Line 281: warning: exported method CondPorts.Type should have comment or be unexported (golint)
    • Line 292: warning: exported method CondPorts.MarshalJSON should have comment or be unexported (golint)
    • Line 296: warning: exported method CondPorts.UnmarshalJSON should have comment or be unexported (golint)
    • Line 309: warning: exported method CondClass.Eval should have comment or be unexported (golint)
    • Line 313: warning: exported method CondClass.Type should have comment or be unexported (golint)
    • scion/go/pkg/gateway/control/remotemonitor.go
    • Line 37: warning: exported type GatewayWatcherFactory should have comment or be unexported (golint)
    • Line 77: warning: exported method RemoteMonitor.Run should have comment or be unexported (golint)
    • Line 81: warning: exported method RemoteMonitor.Close should have comment or be unexported (golint)
    • scion/go/lib/ctrl/seg/seg.go
    • Line 69: warning: exported type PathSegment should have comment or be unexported (golint)
    • Line 392: warning: exported method PathSegment.GetLoggingID should have comment or be unexported (golint)
    • scion/go/lib/ringbuf/ringbuf.go
    • Line 23: warning: exported type Entry should have comment or be unexported (golint)
    • Line 24: warning: exported type EntryList should have comment or be unexported (golint)
    • Line 25: warning: exported type NewEntryF should have comment or be unexported (golint)
    • scion/go/lib/snet/squic/squic.go
    • Line 16: warning: package comment should be of the form "Package squic ..." (golint)
    • Line 42: warning: exported function Init should have comment or be unexported (golint)
    • Line 69: warning: exported function Listen should have comment or be unexported (golint)
    • scion/go/lib/log/wrappers.go
    • Line 94: warning: exported method DiscardLogger.New should have comment or be unexported (golint)
    • Line 95: warning: exported method DiscardLogger.Debug should have comment or be unexported (golint)
    • Line 96: warning: exported method DiscardLogger.Info should have comment or be unexported (golint)
    • scion/go/lib/util/file_mode.go
    • Line 25: warning: exported type FileMode should have comment or be unexported (golint)
    • Line 27: warning: exported method FileMode.UnmarshalText should have comment or be unexported (golint)
    • scion/go/pkg/router/config/config.go
    • Line 29: warning: exported type Config should have comment or be unexported (golint)
    • Line 36: warning: exported method Config.InitDefaults should have comment or be unexported (golint)
    • Line 45: warning: exported method Config.Validate should have comment or be unexported (golint)
    • Line 54: warning: exported method Config.Sample should have comment or be unexported (golint)
    • scion/go/lib/pathpol/acl.go
    • Line 32: warning: exported type ACL should have comment or be unexported (golint)
    • Line 59: warning: exported method ACL.MarshalJSON should have comment or be unexported (golint)
    • Line 63: warning: exported method ACL.UnmarshalJSON should have comment or be unexported (golint)
    • Line 85: warning: exported type ACLEntry should have comment or be unexported (golint)
    • Line 90: warning: exported method ACLEntry.LoadFromString should have comment or be unexported (golint)
    • Line 118: warning: exported method ACLEntry.MarshalJSON should have comment or be unexported (golint)
    • Line 122: warning: exported method ACLEntry.UnmarshalJSON should have comment or be unexported (golint)
    • Line 145: warning: exported const Deny should have comment (or a comment on this block) or be unexported (golint)
    • scion/go/lib/svc/messages.go
    • Line 48: warning: comment on exported method Reply.Marshal should be of the form "Marshal ..." (golint)
    • Line 102: warning: exported const QUIC should have comment (or a comment on this block) or be unexported (golint)
    • scion/go/lib/util/padding.go
    • Line 27: warning: exported function PaddedLen should have comment or be unexported (golint)
    • Line 31: warning: exported function FillPadding should have comment or be unexported (golint)
    • scion/go/lib/topology/underlay/defs.go
    • Line 26: warning: exported type Type should have comment or be unexported (golint)
    • Line 29: warning: exported const Invalid should have comment (or a comment on this block) or be unexported (golint)
    • Line 36: warning: exported const UDPIPv4Name should have comment (or a comment on this block) or be unexported (golint)
    • Line 60: warning: exported function TypeFromString should have comment or be unexported (golint)
    • Line 73: warning: exported method Type.UnmarshalJSON should have comment or be unexported (golint)
    • Line 73: warning: receiver name ot should be consistent with previous receiver name o for Type (golint)
    • Line 86: warning: exported method Type.MarshalJSON should have comment or be unexported (golint)
    • Line 86: warning: receiver name ot should be consistent with previous receiver name o for Type (golint)
    • Line 90: warning: exported method Type.IsUDP should have comment or be unexported (golint)
    • Line 90: warning: receiver name ot should be consistent with previous receiver name o for Type (golint)
    • scion/go/lib/integration/integration.go
    • Line 215: warning: exported type HostAddr should have comment or be unexported (golint)
    • Line 427: warning: exported function GetSCIONDAddresses should have comment or be unexported (golint)
    • Line 441: warning: exported function GetSCIONDAddress should have comment or be unexported (golint)
    • scion/go/lib/spath/path.go
    • Line 50: warning: exported function NewOneHop should have comment or be unexported (golint)
    • Line 78: warning: exported method Path.IsEmpty should have comment or be unexported (golint)
    • Line 82: warning: exported method Path.Copy should have comment or be unexported (golint)
    • Line 89: warning: exported method Path.Reverse should have comment or be unexported (golint)
    • Line 119: warning: exported method Path.IsOHP should have comment or be unexported (golint)
    • Line 119: warning: receiver name path should be consistent with previous receiver name p for Path (golint)
    • Line 123: warning: receiver name path should be consistent with previous receiver name p for Path (golint)
    • scion/go/lib/snet/conn.go
    • Line 31: warning: exported type OpError should have comment or be unexported (golint)
    • Line 36: warning: exported method OpError.RevInfo should have comment or be unexported (golint)
    • Line 47: warning: exported type Conn should have comment or be unexported (golint)
    • Line 64: warning: exported method Conn.SetDeadline should have comment or be unexported (golint)
    • Line 74: warning: exported method Conn.Close should have comment or be unexported (golint)
    • scion/go/dispatcher/internal/registration/table.go
    • Line 40: warning: exported function NewTable should have comment or be unexported (golint)
    • Line 48: warning: exported method Table.Register should have comment or be unexported (golint)
    • Line 86: warning: exported method Table.LookupPublic should have comment or be unexported (golint)
    • Line 90: warning: exported method Table.LookupService should have comment or be unexported (golint)
    • Line 94: warning: exported method Table.Size should have comment or be unexported (golint)
    • Line 98: warning: exported method Table.LookupID should have comment or be unexported (golint)
    • Line 110: warning: exported type TableReference should have comment or be unexported (golint)
    • Line 118: warning: exported method TableReference.Free should have comment or be unexported (golint)
    • Line 133: warning: exported method TableReference.UDPAddr should have comment or be unexported (golint)
    • Line 137: warning: exported method TableReference.RegisterID should have comment or be unexported (golint)
    • scion/go/lib/pathpol/sequence.go
    • Line 42: warning: exported type Sequence should have comment or be unexported (golint)
    • Line 125: warning: exported method Sequence.MarshalJSON should have comment or be unexported (golint)
    • Line 129: warning: exported method Sequence.UnmarshalJSON should have comment or be unexported (golint)
    • scion/go/pkg/sciond/fetcher/fetcher.go
    • Line 38: warning: exported const DefaultMinWorkerLifetime should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported type TrustStore should have comment or be unexported (golint)
    • Line 45: warning: exported type Fetcher should have comment or be unexported (golint)
    • Line 54: warning: exported type FetcherConfig should have comment or be unexported (golint)
    • Line 66: warning: exported function NewFetcher should have comment or be unexported (golint)
    • scion/go/lib/infra/modules/db/errors.go
    • Line 35: warning: exported function NewTxError should have comment or be unexported (golint)
    • Line 40: warning: exported function NewInputDataError should have comment or be unexported (golint)
    • Line 45: warning: exported function NewDataError should have comment or be unexported (golint)
    • Line 50: warning: exported function NewReadError should have comment or be unexported (golint)
    • Line 55: warning: exported function NewWriteError should have comment or be unexported (golint)
    • scion/go/lib/svc/svc.go
    • Line 29: warning: exported const ErrHandler should have comment or be unexported (golint)
    • Line 75: warning: exported method ResolverPacketDispatcher.Register should have comment or be unexported (golint)
    • Line 153: warning: exported type Request should have comment or be unexported (golint)
    • Line 172: warning: exported method BaseHandler.Handle should have comment or be unexported (golint)
    • scion/go/cs/reservation/conf/capacities.go
    • Line 47: warning: exported method Capacities.IngressInterfaces should have comment or be unexported (golint)
    • Line 48: warning: exported method Capacities.EgressInterfaces should have comment or be unexported (golint)
    • Line 49: warning: exported method Capacities.Capacity should have comment or be unexported (golint)
    • Line 50: warning: exported method Capacities.CapacityIngress should have comment or be unexported (golint)
    • Line 51: warning: exported method Capacities.CapacityEgress should have comment or be unexported (golint)
    • scion/go/lib/util/raw.go
    • Line 23: warning: exported type Raw should have comment or be unexported (golint)
    • Line 28: warning: exported method Raw.Peek should have comment or be unexported (golint)
    • scion/go/pkg/trust/config/config.go
    • Line 28: warning: exported type Config should have comment or be unexported (golint)
    • Line 33: warning: exported method Config.InitDefaults should have comment or be unexported (golint)
    • Line 39: warning: exported method Config.Sample should have comment or be unexported (golint)
    • Line 45: warning: exported method Config.ConfigName should have comment or be unexported (golint)
    • Line 49: warning: exported type Cache should have comment or be unexported (golint)
    • Line 54: warning: exported method Cache.New should have comment or be unexported (golint)
    • Line 61: warning: exported method Cache.InitDefaults should have comment or be unexported (golint)
    • Line 67: warning: exported method Cache.Sample should have comment or be unexported (golint)
    • Line 77: warning: exported method Cache.ConfigName should have comment or be unexported (golint)
    • scion/go/scion-pki/certs/create.go
    • Line 435: warning: exported function CreateCSR should have comment or be unexported (golint)
    • Line 485: warning: exported type CertParams should have comment or be unexported (golint)
    • Line 496: warning: exported function CreateCertificate should have comment or be unexported (golint)
    • scion/go/cs/segreq/expander.go
    • Line 29: warning: exported type WildcardExpander should have comment or be unexported (golint)
    • Line 36: warning: exported method WildcardExpander.ExpandSrcWildcard should have comment or be unexported (golint)
    • scion/go/lib/scrypto/mac.go
    • Line 30: warning: exported const ErrCipherFailure should have comment (or a comment on this block) or be unexported (golint)
    • Line 38: warning: exported function InitMac should have comment or be unexported (golint)
    • Line 50: warning: exported function HFMacFactory should have comment or be unexported (golint)
    • scion/go/lib/ctrl/colibri_mgmt/colibri_mgmt.go
    • Line 15: warning: don't use an underscore in package name (golint)
    • Line 23: warning: exported type ColibriRequestPayload should have comment or be unexported (golint)
    • Line 32: warning: exported method ColibriRequestPayload.ProtoId should have comment or be unexported (golint)
    • Line 50: warning: exported method ColibriRequestPayload.PackRoot should have comment or be unexported (golint)
    • Line 54: warning: exported function NewFromRaw should have comment or be unexported (golint)
    • Line 63: warning: exported type SegmentBase should have comment or be unexported (golint)
    • Line 68: warning: exported method SegmentBase.ProtoId should have comment or be unexported (golint)
    • Line 72: warning: exported type E2EBase should have comment or be unexported (golint)
    • Line 77: warning: exported method E2EBase.ProtoId should have comment or be unexported (golint)
    • scion/go/lib/ctrl/colibri_mgmt/e2e_setup.go
    • Line 15: warning: don't use an underscore in package name (golint)
    • Line 21: warning: exported type E2ESetup should have comment or be unexported (golint)
    • Line 32: warning: exported method E2ESetup.ProtoId should have comment or be unexported (golint)
    • Line 36: warning: exported type E2ESetupReqSuccess should have comment or be unexported (golint)
    • Line 40: warning: exported type E2ESetupReqFailure should have comment or be unexported (golint)
    • Line 44: warning: exported type E2ESetupRes should have comment or be unexported (golint)
    • Line 51: warning: exported method E2ESetupRes.ProtoId should have comment or be unexported (golint)
    • Line 55: warning: exported type E2ESetupSuccess should have comment or be unexported (golint)
    • Line 59: warning: exported type E2ESetupFailure should have comment or be unexported (golint)
    • scion/go/dispatcher/internal/registration/udptable.go
    • Line 33: warning: exported function NewUDPPortTable should have comment or be unexported (golint)
    • Line 37: warning: exported function NewUDPPortTableFromMap should have comment or be unexported (golint)
    • Line 45: warning: exported method UDPPortTable.Lookup should have comment or be unexported (golint)
    • Line 123: warning: exported method UDPPortTable.Remove should have comment or be unexported (golint)
    • Line 164: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • scion/go/lib/pktcls/pred_port.go
    • Line 45: warning: exported method PortMatchSource.Type should have comment or be unexported (golint)
    • Line 49: warning: exported method PortMatchSource.Eval should have comment or be unexported (golint)
    • Line 57: warning: exported method PortMatchSource.MarshalJSON should have comment or be unexported (golint)
    • Line 66: warning: exported method PortMatchSource.UnmarshalJSON should have comment or be unexported (golint)
    • Line 88: warning: exported method PortMatchDestination.Type should have comment or be unexported (golint)
    • Line 92: warning: exported method PortMatchDestination.Eval should have comment or be unexported (golint)
    • Line 100: warning: exported method PortMatchDestination.MarshalJSON should have comment or be unexported (golint)
    • Line 109: warning: exported method PortMatchDestination.UnmarshalJSON should have comment or be unexported (golint)
    • scion/go/lib/routemgr/dummy.go
    • Line 23: warning: exported method Dummy.NewPublisher should have comment or be unexported (golint)
    • Line 27: warning: exported method Dummy.NewConsumer should have comment or be unexported (golint)
    • Line 31: warning: exported method Dummy.AddRoute should have comment or be unexported (golint)
    • Line 33: warning: exported method Dummy.DeleteRoute should have comment or be unexported (golint)
    • Line 35: warning: exported method Dummy.Updates should have comment or be unexported (golint)
    • Line 39: warning: exported method Dummy.Close should have comment or be unexported (golint)
    • scion/go/pkg/storage/test/config.go
    • Line 25: warning: exported function CheckTestBeaconDBConfig should have comment or be unexported (golint)
    • Line 29: warning: exported function CheckTestPathDBConfig should have comment or be unexported (golint)
    • Line 33: warning: exported function CheckTestRenewalDBConfig should have comment or be unexported (golint)
    • Line 37: warning: exported function CheckTestTrustDBConfig should have comment or be unexported (golint)
    • scion/go/pkg/gateway/dataplane/atomicroutingtable.go
    • Line 45: warning: exported method AtomicRoutingTable.RouteIPv4 should have comment or be unexported (golint)
    • Line 53: warning: exported method AtomicRoutingTable.RouteIPv6 should have comment or be unexported (golint)
    • Line 61: warning: exported method AtomicRoutingTable.SetRoutingTable should have comment or be unexported (golint)
    • scion/go/lib/ctrl/colibri_mgmt/segment_cleanup.go
    • Line 15: warning: don't use an underscore in package name (golint)
    • Line 21: warning: exported type SegmentCleanup should have comment or be unexported (golint)
    • Line 25: warning: exported method SegmentCleanup.ProtoId should have comment or be unexported (golint)
    • Line 29: warning: exported type SegmentCleanupRes should have comment or be unexported (golint)
    • Line 34: warning: exported method SegmentCleanupRes.ProtoId should have comment or be unexported (golint)
    • scion/go/dispatcher/internal/respool/packet.go
    • Line 34: warning: exported function GetPacket should have comment or be unexported (golint)
    • Line 89: warning: receiver name pkt should be consistent with previous receiver name p for Packet (golint)
    • Line 99: warning: receiver name pkt should be consistent with previous receiver name p for Packet (golint)
    • Line 108: warning: receiver name pkt should be consistent with previous receiver name p for Packet (golint)
    • Line 123: warning: exported method Packet.DecodeFromConn should have comment or be unexported (golint)
    • Line 123: warning: receiver name pkt should be consistent with previous receiver name p for Packet (golint)
    • Line 143: warning: exported method Packet.DecodeFromReliableConn should have comment or be unexported (golint)
    • Line 143: warning: receiver name pkt should be consistent with previous receiver name p for Packet (golint)
    • Line 157: warning: receiver name pkt should be consistent with previous receiver name p for Packet (golint)
    • Line 175: warning: exported method Packet.SendOnConn should have comment or be unexported (golint)
    • Line 175: warning: receiver name pkt should be consistent with previous receiver name p for Packet (golint)
    • Line 179: warning: receiver name pkt should be consistent with previous receiver name p for Packet (golint)
    • scion/go/lib/ctrl/path_mgmt/rev_info.go
    • Line 18: warning: don't use an underscore in package name (golint)
    • Line 32: warning: exported const MinRevTTL should have comment or be unexported (golint)
    • Line 34: warning: exported type RevTimeError should have comment or be unexported (golint)
    • Line 36: warning: exported function NewRevTimeError should have comment or be unexported (golint)
    • Line 42: warning: exported method RevTimeError.Timeout should have comment or be unexported (golint)
    • Line 52: warning: exported type RevInfo should have comment or be unexported (golint)
    • Line 63: warning: exported function NewRevInfoFromRaw should have comment or be unexported (golint)
    • Line 68: warning: exported method RevInfo.IA should have comment or be unexported (golint)
    • Line 77: warning: exported method RevInfo.TTL should have comment or be unexported (golint)
    • Line 81: warning: exported method RevInfo.Expiration should have comment or be unexported (golint)
    • Line 85: warning: exported method RevInfo.Active should have comment or be unexported (golint)
    • Line 102: warning: exported method RevInfo.ProtoId should have comment or be unexported (golint)
    • Line 106: warning: exported method RevInfo.Pack should have comment or be unexported (golint)
    • Line 125: warning: exported method RevInfo.Equal should have comment or be unexported (golint)
    • Line 150: warning: exported type SignedRevInfo should have comment or be unexported (golint)
    • Line 156: warning: exported function NewSignedRevInfoFromRaw should have comment or be unexported (golint)
    • Line 161: warning: exported function NewSignedRevInfo should have comment or be unexported (golint)
    • Line 173: warning: exported method SignedRevInfo.ProtoId should have comment or be unexported (golint)
    • Line 177: warning: exported method SignedRevInfo.RevInfo should have comment or be unexported (golint)
    • Line 185: warning: exported method SignedRevInfo.Pack should have comment or be unexported (golint)
    • scion/go/lib/env/envtest/config.go
    • Line 29: warning: exported function InitTest should have comment or be unexported (golint)
    • Line 46: warning: exported function InitTestGeneral should have comment or be unexported (golint)
    • Line 50: warning: exported function InitTestMetrics should have comment or be unexported (golint)
    • Line 52: warning: exported function InitTestTracing should have comment or be unexported (golint)
    • Line 57: warning: exported function InitTestSCIOND should have comment or be unexported (golint)
    • Line 61: warning: exported function CheckTest should have comment or be unexported (golint)
    • Line 78: warning: exported function CheckTestGeneral should have comment or be unexported (golint)
    • Line 85: warning: exported function CheckTestMetrics should have comment or be unexported (golint)
    • Line 89: warning: exported function CheckTestTracing should have comment or be unexported (golint)
    • Line 99: warning: exported function CheckTestSciond should have comment or be unexported (golint)
    • scion/go/cs/beacon/beacondbtest/beacondbtest.go
    • Line 48: warning: exported var Info1 should have comment or be unexported (golint)
    • Line 667: warning: exported function CheckResults should have comment or be unexported (golint)
    • Line 715: warning: exported function CheckRevs should have comment or be unexported (golint)
    • Line 734: warning: exported function CheckEmptyRevs should have comment or be unexported (golint)
    • Line 742: warning: exported function InsertBeacon should have comment or be unexported (golint)
    • Line 752: warning: exported function InsertRevocation should have comment or be unexported (golint)
    • Line 759: warning: exported type PeerEntry should have comment or be unexported (golint)
    • Line 764: warning: exported type IfInfo should have comment or be unexported (golint)
    • Line 772: warning: exported function AllocBeacon should have comment or be unexported (golint)
    • scion/go/cs/beaconing/staticinfo_config.go
    • Line 31: warning: exported type InterfaceLatencies should have comment or be unexported (golint)
    • Line 36: warning: exported type InterfaceBandwidths should have comment or be unexported (golint)
    • Line 41: warning: exported type InterfaceGeodata should have comment or be unexported (golint)
    • Line 47: warning: exported type InterfaceHops should have comment or be unexported (golint)
    • Line 51: warning: exported type LinkType should have comment or be unexported (golint)
    • Line 53: warning: exported method LinkType.MarshalText should have comment or be unexported (golint)
    • Line 66: warning: exported method LinkType.UnmarshalText should have comment or be unexported (golint)
    • scion/go/lib/ctrl/seg/unsigned.go
    • Line 23: warning: exported type UnsignedExtensions should have comment or be unexported (golint)
    • Line 29: warning: exported function UnsignedExtensionsFromPB should have comment or be unexported (golint)
    • Line 38: warning: exported function UnsignedExtensionsToPB should have comment or be unexported (golint)
    • scion/go/lib/sock/reliable/registration.go
    • Line 25: warning: exported type CommandBitField should have comment or be unexported (golint)
    • Line 28: warning: exported const CmdBindAddress should have comment (or a comment on this block) or be unexported (golint)
    • Line 41: warning: exported method Registration.SerializeTo should have comment or be unexported (golint)
    • Line 65: warning: exported method Registration.DecodeFromBytes should have comment or be unexported (golint)
    • Line 126: warning: receiver name l should be consistent with previous receiver name m for registrationMessage (golint)
    • Line 202: warning: exported type Confirmation should have comment or be unexported (golint)
    • Line 206: warning: exported method Confirmation.SerializeTo should have comment or be unexported (golint)
    • Line 214: warning: exported method Confirmation.DecodeFromBytes should have comment or be unexported (golint)
    • scion/go/cs/beaconing/tick.go
    • Line 30: warning: exported function NewTick should have comment or be unexported (golint)
    • Line 34: warning: exported method Tick.SetNow should have comment or be unexported (golint)
    • Line 38: warning: exported method Tick.Now should have comment or be unexported (golint)
    • Line 48: warning: exported method Tick.Period should have comment or be unexported (golint)
    • scion/go/lib/snet/path/path.go
    • Line 41: warning: exported method Path.UnderlayNextHop should have comment or be unexported (golint)
    • Line 52: warning: exported method Path.Path should have comment or be unexported (golint)
    • Line 56: warning: exported method Path.Destination should have comment or be unexported (golint)
    • Line 60: warning: exported method Path.Metadata should have comment or be unexported (golint)
    • Line 64: warning: exported method Path.Copy should have comment or be unexported (golint)
    • scion/antlr/traffic_class/trafficclass_lexer.go
    • Line 3: warning: don't use an underscore in package name (golint)
    • Line 153: warning: exported type TrafficClassLexer should have comment or be unexported (golint)
    • Line 168: warning: exported function NewTrafficClassLexer should have comment or be unexported (golint)
    • Line 188: warning: don't use underscores in Go names; const TrafficClassLexerT__0 should be TrafficClassLexerT0 (golint)
    • Line 189: warning: don't use underscores in Go names; const TrafficClassLexerT__1 should be TrafficClassLexerT1 (golint)
    • Line 190: warning: don't use underscores in Go names; const TrafficClassLexerT__2 should be TrafficClassLexerT2 (golint)
    • Line 191: warning: don't use underscores in Go names; const TrafficClassLexerT__3 should be TrafficClassLexerT3 (golint)
    • Line 192: warning: don't use underscores in Go names; const TrafficClassLexerT__4 should be TrafficClassLexerT4 (golint)
    • Line 193: warning: don't use underscores in Go names; const TrafficClassLexerT__5 should be TrafficClassLexerT5 (golint)
    • Line 194: warning: don't use underscores in Go names; const TrafficClassLexerT__6 should be TrafficClassLexerT6 (golint)
    • Line 195: warning: don't use underscores in Go names; const TrafficClassLexerT__7 should be TrafficClassLexerT7 (golint)
    • Line 196: warning: don't use underscores in Go names; const TrafficClassLexerT__8 should be TrafficClassLexerT8 (golint)
    • Line 199: warning: don't use underscores in Go names; const TrafficClassLexerHEX_DIGITS should be TrafficClassLexerHEXDIGITS (golint)
    • scion/go/cs/reservation/translate/fromctrl.go
    • Line 386: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 411: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 435: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 496: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • scion/go/dispatcher/dispatcher/dispatcher.go
    • Line 114: warning: exported method Server.Close should have comment or be unexported (golint)
    • Line 129: warning: exported method Conn.WriteTo should have comment or be unexported (golint)
    • Line 144: warning: exported method Conn.ReadFrom should have comment or be unexported (golint)
    • Line 167: warning: exported method Conn.Close should have comment or be unexported (golint)
    • Line 173: warning: exported method Conn.LocalAddr should have comment or be unexported (golint)
    • Line 177: warning: exported method Conn.SVCAddr should have comment or be unexported (golint)
    • Line 181: warning: exported method Conn.SetDeadline should have comment or be unexported (golint)
    • Line 185: warning: exported method Conn.SetReadDeadline should have comment or be unexported (golint)
    • Line 189: warning: exported method Conn.SetWriteDeadline should have comment or be unexported (golint)
    • scion/go/lib/ringbuf/internal/metrics/ringbuf.go
    • Line 23: warning: exported type RingbufLabels should have comment or be unexported (golint)
    • Line 27: warning: exported method RingbufLabels.Labels should have comment or be unexported (golint)
    • Line 31: warning: exported method RingbufLabels.Values should have comment or be unexported (golint)
    • Line 70: warning: exported type Ringbuf should have comment or be unexported (golint)
    • Line 81: warning: exported function NewRingbuf should have comment or be unexported (golint)
    • scion/go/lib/pathpol/hop_pred.go
    • Line 38: warning: exported function NewHopPredicate should have comment or be unexported (golint)
    • Line 42: warning: exported function HopPredicateFromString should have comment or be unexported (golint)
    • Line 124: warning: exported method HopPredicate.MarshalJSON should have comment or be unexported (golint)
    • Line 128: warning: exported method HopPredicate.UnmarshalJSON should have comment or be unexported (golint)
    • scion/go/lib/routemgr/linux.go
    • Line 50: warning: exported method Linux.NewPublisher should have comment or be unexported (golint)
    • Line 54: warning: exported method Linux.Close should have comment or be unexported (golint)
    • Line 59: warning: exported method Linux.Run should have comment or be unexported (golint)
    • Line 86: warning: exported method Linux.Diagnostics should have comment or be unexported (golint)
    • scion/go/lib/slayers/scion.go
    • Line 132: warning: exported method SCION.LayerType should have comment or be unexported (golint)
    • Line 136: warning: exported method SCION.CanDecode should have comment or be unexported (golint)
    • Line 140: warning: exported method SCION.NextLayerType should have comment or be unexported (golint)
    • Line 144: warning: exported method SCION.LayerPayload should have comment or be unexported (golint)
    • Line 148: warning: exported method SCION.NetworkFlow should have comment or be unexported (golint)
    • Line 153: warning: exported method SCION.SerializeTo should have comment or be unexported (golint)
    • scion/go/pkg/cs/drkey/grpc/drkey_fetcher.go
    • Line 33: warning: exported type Lvl1KeyGetter should have comment or be unexported (golint)
    • Line 38: warning: exported type Lvl1KeyFetcher should have comment or be unexported (golint)
    • Line 45: warning: exported method Lvl1KeyFetcher.GetLvl1Key should have comment or be unexported (golint)
    • scion/go/lib/xtest/graph/graph.go
    • Line 225: warning: exported method Graph.BeaconWithStaticInfo should have comment or be unexported (golint)
    • Line 386: warning: exported type Signer should have comment or be unexported (golint)
    • Line 390: warning: exported function NewSigner should have comment or be unexported (golint)
    • Line 400: warning: exported method Signer.Sign should have comment or be unexported (golint)
    • Line 475: warning: exported function MustParseIA should have comment or be unexported (golint)
    • Line 499: warning: exported function NewDefaultGraph should have comment or be unexported (golint)
    • scion/go/lib/common/defs.go
    • Line 27: warning: exported const MinMTU should have comment (or a comment on this block) or be unexported (golint)
    • Line 34: warning: exported const CPService should have comment (or a comment on this block) or be unexported (golint)
    • Line 62: warning: exported function TypeOf should have comment or be unexported (golint)
    • scion/go/lib/pathdb/query/query.go
    • Line 27: warning: comment on exported type HPCfgID should be of the form "HPCfgID ..." (with optional leading article) (golint)
    • Line 33: warning: exported method HPCfgID.Equal should have comment or be unexported (golint)
    • Line 40: warning: exported var NullHpCfgID should have comment or be unexported (golint)
    • Line 42: warning: exported type IntfSpec should have comment or be unexported (golint)
    • Line 47: warning: exported type Params should have comment or be unexported (golint)
    • Line 57: warning: exported type Result should have comment or be unexported (golint)
    • scion/go/lib/routemgr/routedb.go
    • Line 39: warning: exported type Route should have comment or be unexported (golint)
    • Line 67: warning: exported type PublisherFactory should have comment or be unexported (golint)
    • Line 71: warning: exported type Consumer should have comment or be unexported (golint)
    • Line 78: warning: exported type ConsumerFactory should have comment or be unexported (golint)
    • Line 88: warning: exported type RouteDBMetrics should have comment or be unexported (golint)
    • Line 113: warning: exported method RouteDB.Run should have comment or be unexported (golint)
    • Line 343: warning: exported type RoutePublisher should have comment or be unexported (golint)
    • Line 390: warning: exported type RouteConsumer should have comment or be unexported (golint)

license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


ineffassign99%

IneffAssign detects ineffectual assignments in Go code.


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!