Preparing report...

Report for github.com/abema/go-mp4

A+    Excellent!    Found 22 issues across 41 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!


golint46%

Golint is a linter for Go source code.

    • go-mp4/bitio/write.go
    • Line 7: warning: exported type Writer should have comment or be unexported (golint)
    • Line 24: warning: exported function NewWriter should have comment or be unexported (golint)
    • go-mp4/util/string.go
    • Line 9: warning: exported function FormatSignedFixedFloat1616 should have comment or be unexported (golint)
    • Line 12: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 17: warning: exported function FormatUnsignedFixedFloat1616 should have comment or be unexported (golint)
    • Line 20: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 25: warning: exported function FormatSignedFixedFloat88 should have comment or be unexported (golint)
    • Line 28: warning: if block ends with a return statement, so drop this else and outdent its block (golint)
    • Line 33: warning: exported function EscapeUnprintable should have comment or be unexported (golint)
    • Line 40: warning: exported function EscapeUnprintables should have comment or be unexported (golint)
    • go-mp4/box_types.go
    • Line 16: warning: exported function BoxTypeBtrt should have comment or be unexported (golint)
    • Line 22: warning: exported type Btrt should have comment or be unexported (golint)
    • Line 36: warning: exported function BoxTypeCo64 should have comment or be unexported (golint)
    • Line 42: warning: exported type Co64 should have comment or be unexported (golint)
    • Line 64: warning: exported function BoxTypeColr should have comment or be unexported (golint)
    • Line 70: warning: exported type Colr should have comment or be unexported (golint)
    • Line 82: warning: exported method Colr.IsOptFieldEnabled should have comment or be unexported (golint)
    • Line 110: warning: exported function BoxTypeCslg should have comment or be unexported (golint)
    • Line 116: warning: exported type Cslg should have comment or be unexported (golint)
    • Line 137: warning: exported function BoxTypeCtts should have comment or be unexported (golint)
    • Line 143: warning: exported type Ctts should have comment or be unexported (golint)
    • Line 149: warning: exported type CttsEntry should have comment or be unexported (golint)
    • Line 171: warning: exported function BoxTypeDinf should have comment or be unexported (golint)
    • Line 189: warning: exported function BoxTypeDref should have comment or be unexported (golint)
    • Line 190: warning: exported function BoxTypeUrl should have comment or be unexported (golint)
    • Line 191: warning: exported function BoxTypeUrn should have comment or be unexported (golint)
    • Line 210: warning: exported type Url should have comment or be unexported (golint)
    • Line 215: warning: exported method Url.GetType should have comment or be unexported (golint)
    • Line 219: warning: exported const UrlSelfContained should have comment or be unexported (golint)
    • Line 221: warning: exported type Urn should have comment or be unexported (golint)
    • Line 227: warning: exported method Urn.GetType should have comment or be unexported (golint)
    • Line 231: warning: exported const UrnSelfContained should have comment or be unexported (golint)
    • Line 235: warning: exported function BoxTypeEdts should have comment or be unexported (golint)
    • Line 253: warning: exported function BoxTypeElst should have comment or be unexported (golint)
    • Line 266: warning: exported type ElstEntry should have comment or be unexported (golint)
    • Line 313: warning: exported function BoxTypeEmsg should have comment or be unexported (golint)
    • Line 332: warning: exported method Emsg.OnReadField should have comment or be unexported (golint)
    • Line 356: warning: exported method Emsg.OnWriteField should have comment or be unexported (golint)
    • Line 387: warning: exported function BoxTypeEsds should have comment or be unexported (golint)
    • Line 394: warning: exported const ESDescrTag should have comment (or a comment on this block) or be unexported (golint)
    • Line 411: warning: exported type Descriptor should have comment or be unexported (golint)
    • Line 429: warning: exported method Descriptor.IsOptFieldEnabled should have comment or be unexported (golint)
    • Line 461: warning: exported type ESDescriptor should have comment or be unexported (golint)
    • Line 474: warning: exported method ESDescriptor.GetFieldLength should have comment or be unexported (golint)
    • Line 482: warning: exported method ESDescriptor.IsOptFieldEnabled should have comment or be unexported (golint)
    • Line 495: warning: exported type DecoderConfigDescriptor should have comment or be unexported (golint)
    • Line 508: warning: exported function BoxTypeFree should have comment or be unexported (golint)
    • Line 509: warning: exported function BoxTypeSkip should have comment or be unexported (golint)
    • Line 516: warning: exported type FreeSpace should have comment or be unexported (golint)
    • Line 521: warning: exported type Free should have comment or be unexported (golint)
    • Line 523: warning: exported method Free.GetType should have comment or be unexported (golint)
    • Line 527: warning: exported type Skip should have comment or be unexported (golint)
    • Line 529: warning: exported method Skip.GetType should have comment or be unexported (golint)
    • Line 535: warning: exported function BoxTypeFrma should have comment or be unexported (golint)
    • Line 554: warning: exported function BoxTypeFtyp should have comment or be unexported (golint)
    • Line 560: warning: exported function BrandQT should have comment or be unexported (golint)
    • Line 561: warning: exported function BrandISOM should have comment or be unexported (golint)
    • Line 562: warning: exported function BrandISO2 should have comment or be unexported (golint)
    • Line 563: warning: exported function BrandISO3 should have comment or be unexported (golint)
    • Line 564: warning: exported function BrandISO4 should have comment or be unexported (golint)
    • Line 565: warning: exported function BrandISO5 should have comment or be unexported (golint)
    • Line 566: warning: exported function BrandISO6 should have comment or be unexported (golint)
    • Line 567: warning: exported function BrandISO7 should have comment or be unexported (golint)
    • Line 568: warning: exported function BrandISO8 should have comment or be unexported (golint)
    • Line 569: warning: exported function BrandISO9 should have comment or be unexported (golint)
    • Line 570: warning: exported function BrandAVC1 should have comment or be unexported (golint)
    • Line 571: warning: exported function BrandMP41 should have comment or be unexported (golint)
    • Line 572: warning: exported function BrandMP71 should have comment or be unexported (golint)
    • Line 582: warning: exported type CompatibleBrandElem should have comment or be unexported (golint)
    • Line 586: warning: exported method Ftyp.AddCompatibleBrand should have comment or be unexported (golint)
    • Line 594: warning: exported method Ftyp.RemoveCompatibleBrand should have comment or be unexported (golint)
    • Line 605: warning: exported method Ftyp.HasCompatibleBrand should have comment or be unexported (golint)
    • Line 621: warning: exported function BoxTypeHdlr should have comment or be unexported (golint)
    • Line 644: warning: exported method Hdlr.OnReadField should have comment or be unexported (golint)
    • Line 653: warning: exported method Hdlr.OnReadName should have comment or be unexported (golint)
    • Line 685: warning: exported function BoxTypeIlst should have comment or be unexported (golint)
    • Line 686: warning: exported function BoxTypeData should have comment or be unexported (golint)
    • Line 737: warning: exported function IsIlstMetaBoxType should have comment or be unexported (golint)
    • Line 756: warning: exported type Ilst should have comment or be unexported (golint)
    • Line 765: warning: exported type IlstMetaContainer should have comment or be unexported (golint)
    • Line 774: warning: exported const DataTypeBinary should have comment (or a comment on this block) or be unexported (golint)
    • Line 784: warning: exported type Data should have comment or be unexported (golint)
    • Line 831: warning: exported type StringData should have comment or be unexported (golint)
    • Line 850: warning: exported function BoxTypeMdat should have comment or be unexported (golint)
    • Line 869: warning: exported function BoxTypeMdhd should have comment or be unexported (golint)
    • Line 898: warning: exported function BoxTypeMdia should have comment or be unexported (golint)
    • Line 916: warning: exported function BoxTypeMehd should have comment or be unexported (golint)
    • Line 936: warning: exported function BoxTypeMeta should have comment or be unexported (golint)
    • Line 952: warning: exported method Meta.BeforeUnmarshal should have comment or be unexported (golint)
    • Line 971: warning: exported function BoxTypeMfhd should have comment or be unexported (golint)
    • Line 990: warning: exported function BoxTypeMfra should have comment or be unexported (golint)
    • Line 1008: warning: exported function BoxTypeMfro should have comment or be unexported (golint)
    • Line 1027: warning: exported function BoxTypeMinf should have comment or be unexported (golint)
    • Line 1045: warning: exported function BoxTypeMoof should have comment or be unexported (golint)
    • Line 1063: warning: exported function BoxTypeMoov should have comment or be unexported (golint)
    • Line 1081: warning: exported function BoxTypeMvex should have comment or be unexported (golint)
    • Line 1099: warning: exported function BoxTypeMvhd should have comment or be unexported (golint)
    • Line 1151: warning: exported function BoxTypePssh should have comment or be unexported (golint)
    • Line 1167: warning: exported type PsshKID should have comment or be unexported (golint)
    • Line 1209: warning: exported function BoxTypeSaio should have comment or be unexported (golint)
    • Line 1215: warning: exported type Saio should have comment or be unexported (golint)
    • Line 1224: warning: exported method Saio.GetFieldLength should have comment or be unexported (golint)
    • Line 1232: warning: exported method Saio.GetType should have comment or be unexported (golint)
    • Line 1238: warning: exported function BoxTypeSaiz should have comment or be unexported (golint)
    • Line 1244: warning: exported type Saiz should have comment or be unexported (golint)
    • Line 1253: warning: exported method Saiz.IsOptFieldEnabled should have comment or be unexported (golint)
    • Line 1261: warning: exported method Saiz.GetFieldLength should have comment or be unexported (golint)
    • Line 1269: warning: exported method Saiz.GetType should have comment or be unexported (golint)
    • Line 1275: warning: exported function BoxTypeAvc1 should have comment or be unexported (golint)
    • Line 1276: warning: exported function BoxTypeEncv should have comment or be unexported (golint)
    • Line 1277: warning: exported function BoxTypeMp4a should have comment or be unexported (golint)
    • Line 1278: warning: exported function BoxTypeEnca should have comment or be unexported (golint)
    • Line 1279: warning: exported function BoxTypeAvcC should have comment or be unexported (golint)
    • Line 1280: warning: exported function BoxTypePasp should have comment or be unexported (golint)
    • Line 1291: warning: exported type SampleEntry should have comment or be unexported (golint)
    • Line 1297: warning: exported type VisualSampleEntry should have comment or be unexported (golint)
    • Line 1326: warning: exported type AudioSampleEntry should have comment or be unexported (golint)
    • Line 1338: warning: exported method AudioSampleEntry.IsOptFieldEnabled should have comment or be unexported (golint)
    • Line 1348: warning: exported method AudioSampleEntry.GetFieldLength should have comment or be unexported (golint)
    • Line 1362: warning: exported const AVCBaselineProfile should have comment (or a comment on this block) or be unexported (golint)
    • Line 1370: warning: exported type AVCDecoderConfiguration should have comment or be unexported (golint)
    • Line 1394: warning: exported method AVCDecoderConfiguration.GetFieldLength should have comment or be unexported (golint)
    • Line 1406: warning: exported method AVCDecoderConfiguration.IsOptFieldEnabled should have comment or be unexported (golint)
    • Line 1421: warning: exported method AVCDecoderConfiguration.OnReadField should have comment or be unexported (golint)
    • Line 1433: warning: exported method AVCDecoderConfiguration.OnWriteField should have comment or be unexported (golint)
    • Line 1447: warning: exported type AVCParameterSet should have comment or be unexported (golint)
    • Line 1453: warning: exported method AVCParameterSet.GetFieldLength should have comment or be unexported (golint)
    • Line 1461: warning: exported type PixelAspectRatioBox should have comment or be unexported (golint)
    • Line 1469: warning: exported function BoxTypeSbgp should have comment or be unexported (golint)
    • Line 1475: warning: exported type Sbgp should have comment or be unexported (golint)
    • Line 1483: warning: exported type SbgpEntry should have comment or be unexported (golint)
    • Line 1488: warning: exported method Sbgp.GetFieldLength should have comment or be unexported (golint)
    • Line 1496: warning: exported method Sbgp.GetType should have comment or be unexported (golint)
    • Line 1502: warning: exported function BoxTypeSchi should have comment or be unexported (golint)
    • Line 1508: warning: exported type Schi should have comment or be unexported (golint)
    • Line 1512: warning: exported method Schi.GetType should have comment or be unexported (golint)
    • Line 1518: warning: exported function BoxTypeSchm should have comment or be unexported (golint)
    • Line 1524: warning: exported type Schm should have comment or be unexported (golint)
    • Line 1531: warning: exported method Schm.GetType should have comment or be unexported (golint)
    • Line 1537: warning: exported function BoxTypeSdtp should have comment or be unexported (golint)
    • Line 1543: warning: exported type Sdtp should have comment or be unexported (golint)
    • Line 1548: warning: exported type SdtpSampleElem should have comment or be unexported (golint)
    • Line 1555: warning: exported method Sdtp.GetType should have comment or be unexported (golint)
    • Line 1561: warning: exported function BoxTypeSgpd should have comment or be unexported (golint)
    • Line 1567: warning: exported type Sgpd should have comment or be unexported (golint)
    • Line 1584: warning: exported type RollDistanceWithLength should have comment or be unexported (golint)
    • Line 1589: warning: exported type AlternativeStartupEntry should have comment or be unexported (golint)
    • Line 1597: warning: exported type AlternativeStartupEntryL should have comment or be unexported (golint)
    • Line 1602: warning: exported type AlternativeStartupEntryOpt should have comment or be unexported (golint)
    • Line 1607: warning: exported type VisualRandomAccessEntry should have comment or be unexported (golint)
    • Line 1612: warning: exported type VisualRandomAccessEntryL should have comment or be unexported (golint)
    • Line 1617: warning: exported type TemporalLevelEntry should have comment or be unexported (golint)
    • Line 1622: warning: exported type TemporalLevelEntryL should have comment or be unexported (golint)
    • Line 1627: warning: exported method Sgpd.GetFieldSize should have comment or be unexported (golint)
    • Line 1635: warning: exported method Sgpd.GetFieldLength should have comment or be unexported (golint)
    • Line 1646: warning: exported method Sgpd.IsOptFieldEnabled should have comment or be unexported (golint)
    • Line 1680: warning: exported method Sgpd.GetType should have comment or be unexported (golint)
    • Line 1684: warning: exported method AlternativeStartupEntry.GetFieldLength should have comment or be unexported (golint)
    • Line 1692: warning: exported method AlternativeStartupEntryL.GetFieldSize should have comment or be unexported (golint)
    • Line 1702: warning: exported function BoxTypeSidx should have comment or be unexported (golint)
    • Line 1708: warning: exported type Sidx should have comment or be unexported (golint)
    • Line 1721: warning: exported type SidxReference should have comment or be unexported (golint)
    • Line 1730: warning: exported method Sidx.GetType should have comment or be unexported (golint)
    • Line 1734: warning: exported method Sidx.GetFieldLength should have comment or be unexported (golint)
    • Line 1744: warning: exported function BoxTypeSinf should have comment or be unexported (golint)
    • Line 1750: warning: exported type Sinf should have comment or be unexported (golint)
    • Line 1754: warning: exported method Sinf.GetType should have comment or be unexported (golint)
    • Line 1760: warning: exported function BoxTypeSmhd should have comment or be unexported (golint)
    • Line 1766: warning: exported type Smhd should have comment or be unexported (golint)
    • Line 1772: warning: exported method Smhd.GetType should have comment or be unexported (golint)
    • Line 1798: warning: exported function BoxTypeStbl should have comment or be unexported (golint)
    • Line 1816: warning: exported function BoxTypeStco should have comment or be unexported (golint)
    • Line 1845: warning: exported function BoxTypeStsc should have comment or be unexported (golint)
    • Line 1858: warning: exported type StscEntry should have comment or be unexported (golint)
    • Line 1880: warning: exported function BoxTypeStsd should have comment or be unexported (golint)
    • Line 1899: warning: exported function BoxTypeStss should have comment or be unexported (golint)
    • Line 1905: warning: exported type Stss should have comment or be unexported (golint)
    • Line 1927: warning: exported function BoxTypeStsz should have comment or be unexported (golint)
    • Line 1960: warning: exported function BoxTypeStts should have comment or be unexported (golint)
    • Line 1973: warning: exported type SttsEntry should have comment or be unexported (golint)
    • Line 1994: warning: exported function BoxTypeStyp should have comment or be unexported (golint)
    • Line 2000: warning: exported type Styp should have comment or be unexported (golint)
    • Line 2007: warning: exported method Styp.GetType should have comment or be unexported (golint)
    • Line 2013: warning: exported function BoxTypeTenc should have comment or be unexported (golint)
    • Line 2032: warning: exported method Tenc.IsOptFieldEnabled should have comment or be unexported (golint)
    • Line 2040: warning: exported method Tenc.GetFieldLength should have comment or be unexported (golint)
    • Line 2055: warning: exported function BoxTypeTfdt should have comment or be unexported (golint)
    • Line 2075: warning: exported function BoxTypeTfhd should have comment or be unexported (golint)
    • Line 2095: warning: exported const TfhdBaseDataOffsetPresent should have comment (or a comment on this block) or be unexported (golint)
    • Line 2111: warning: exported function BoxTypeTfra should have comment or be unexported (golint)
    • Line 2129: warning: exported type TfraEntry should have comment or be unexported (golint)
    • Line 2185: warning: exported function BoxTypeTkhd should have comment or be unexported (golint)
    • Line 2252: warning: exported function BoxTypeTraf should have comment or be unexported (golint)
    • Line 2270: warning: exported function BoxTypeTrak should have comment or be unexported (golint)
    • Line 2288: warning: exported function BoxTypeTrep should have comment or be unexported (golint)
    • Line 2307: warning: exported function BoxTypeTrex should have comment or be unexported (golint)
    • Line 2330: warning: exported function BoxTypeTrun should have comment or be unexported (golint)
    • Line 2347: warning: exported type TrunEntry should have comment or be unexported (golint)
    • Line 2394: warning: exported function BoxTypeUdta should have comment or be unexported (golint)
    • Line 2422: warning: exported type Udta3GppString should have comment or be unexported (golint)
    • Line 2436: warning: exported function BoxTypeVmhd should have comment or be unexported (golint)
    • Line 2456: warning: exported function BoxTypeWave should have comment or be unexported (golint)
    • go-mp4/marshaller.go
    • Line 18: warning: exported var ErrUnsupportedBoxVersion should have comment or be unexported (golint)
    • Line 27: warning: exported function Marshal should have comment or be unexported (golint)
    • Line 263: warning: exported function UnmarshalAny should have comment or be unexported (golint)
    • Line 272: warning: exported function Unmarshal should have comment or be unexported (golint)
    • go-mp4/mp4.go
    • Line 10: warning: exported var ErrBoxInfoNotFound should have comment or be unexported (golint)
    • Line 15: warning: exported function StrToBoxType should have comment or be unexported (golint)
    • Line 39: warning: exported method BoxType.MatchWith should have comment or be unexported (golint)
    • Line 39: warning: receiver name lhs should be consistent with previous receiver name boxType for BoxType (golint)
    • Line 48: warning: exported function BoxTypeAny should have comment or be unexported (golint)
    • Line 61: warning: exported function AddBoxDef should have comment or be unexported (golint)
    • Line 69: warning: exported function AddBoxDefEx should have comment or be unexported (golint)
    • Line 78: warning: exported function AddAnyTypeBoxDef should have comment or be unexported (golint)
    • Line 86: warning: exported function AddAnyTypeBoxDefEx should have comment or be unexported (golint)
    • Line 106: warning: exported method BoxType.IsSupported should have comment or be unexported (golint)
    • Line 110: warning: exported method BoxType.New should have comment or be unexported (golint)
    • Line 129: warning: exported method BoxType.GetSupportedVersions should have comment or be unexported (golint)
    • Line 137: warning: exported method BoxType.IsSupportedVersion should have comment or be unexported (golint)
    • go-mp4/write.go
    • Line 8: warning: exported type Writer should have comment or be unexported (golint)
    • Line 13: warning: exported function NewWriter should have comment or be unexported (golint)
    • Line 23: warning: exported method Writer.Seek should have comment or be unexported (golint)
    • Line 27: warning: exported method Writer.StartBox should have comment or be unexported (golint)
    • Line 36: warning: exported method Writer.EndBox should have comment or be unexported (golint)
    • Line 58: warning: exported method Writer.CopyBox should have comment or be unexported (golint)
    • go-mp4/bitio/read.go
    • Line 5: warning: exported type Reader should have comment or be unexported (golint)
    • Line 16: warning: exported type ReadSeeker should have comment or be unexported (golint)
    • Line 27: warning: exported function NewReader should have comment or be unexported (golint)
    • Line 80: warning: exported function NewReadSeeker should have comment or be unexported (golint)
    • go-mp4/util/io.go
    • Line 8: warning: exported function ReadString should have comment or be unexported (golint)
    • Line 22: warning: exported function WriteString should have comment or be unexported (golint)
    • go-mp4/field.go
    • Line 18: warning: don't use underscores in Go names; const stringType_C should be stringTypeC (golint)
    • Line 19: warning: don't use underscores in Go names; const stringType_C_P should be stringTypeCP (golint)
    • go-mp4/probe.go
    • Line 11: warning: exported type ProbeInfo should have comment or be unexported (golint)
    • Line 22: warning: comment on exported type FraProbeInfo should be of the form "FraProbeInfo ..." (with optional leading article) (golint)
    • Line 25: warning: exported type Tracks should have comment or be unexported (golint)
    • Line 27: warning: comment on exported type TrackInfo should be of the form "TrackInfo ..." (with optional leading article) (golint)
    • Line 30: warning: exported type Track should have comment or be unexported (golint)
    • Line 43: warning: exported type Codec should have comment or be unexported (golint)
    • Line 46: warning: exported const CodecUnknown should have comment (or a comment on this block) or be unexported (golint)
    • Line 51: warning: exported type EditList should have comment or be unexported (golint)
    • Line 53: warning: exported type EditListEntry should have comment or be unexported (golint)
    • Line 58: warning: exported type Samples should have comment or be unexported (golint)
    • Line 60: warning: exported type Sample should have comment or be unexported (golint)
    • Line 66: warning: exported type Chunks should have comment or be unexported (golint)
    • Line 68: warning: exported type Chunk should have comment or be unexported (golint)
    • Line 73: warning: exported type AVCDecConfigInfo should have comment or be unexported (golint)
    • Line 83: warning: exported type MP4AInfo should have comment or be unexported (golint)
    • Line 89: warning: exported type Segments should have comment or be unexported (golint)
    • Line 91: warning: comment on exported type SegmentInfo should be of the form "SegmentInfo ..." (with optional leading article) (golint)
    • Line 94: warning: exported type Segment should have comment or be unexported (golint)
    • Line 576: warning: exported function FindIDRFrames should have comment or be unexported (golint)
    • Line 618: warning: exported method Samples.GetBitrate should have comment or be unexported (golint)
    • Line 631: warning: exported method Samples.GetMaxBitrate should have comment or be unexported (golint)
    • Line 665: warning: exported method Segments.GetBitrate should have comment or be unexported (golint)
    • Line 680: warning: exported method Segments.GetMaxBitrate should have comment or be unexported (golint)
    • go-mp4/string.go
    • Line 20: warning: exported function Stringify should have comment or be unexported (golint)
    • Line 24: warning: exported function StringifyWithIndent should have comment or be unexported (golint)
    • go-mp4/extract.go
    • Line 8: warning: exported type BoxInfoWithPayload should have comment or be unexported (golint)
    • Line 13: warning: exported function ExtractBoxWithPayload should have comment or be unexported (golint)
    • Line 17: warning: exported function ExtractBoxesWithPayload should have comment or be unexported (golint)
    • Line 45: warning: exported function ExtractBox should have comment or be unexported (golint)
    • Line 49: warning: exported function ExtractBoxes should have comment or be unexported (golint)
    • go-mp4/mp4tool/edit/edit.go
    • Line 14: warning: exported const UNoValue should have comment or be unexported (golint)
    • Line 16: warning: exported type Values should have comment or be unexported (golint)
    • Line 20: warning: exported type Boxes should have comment or be unexported (golint)
    • Line 22: warning: exported method Boxes.Exists should have comment or be unexported (golint)
    • Line 31: warning: exported type Config should have comment or be unexported (golint)
    • Line 38: warning: exported function Main should have comment or be unexported (golint)
    • go-mp4/box.go
    • Line 11: warning: exported const LengthUnlimited should have comment or be unexported (golint)
    • Line 13: warning: exported type ICustomFieldObject should have comment or be unexported (golint)
    • Line 35: warning: exported type BaseCustomFieldObject should have comment or be unexported (golint)
    • Line 58: warning: exported method BaseCustomFieldObject.IsPString should have comment or be unexported (golint)
    • Line 62: warning: exported method BaseCustomFieldObject.BeforeUnmarshal should have comment or be unexported (golint)
    • Line 66: warning: exported method BaseCustomFieldObject.OnReadField should have comment or be unexported (golint)
    • Line 70: warning: exported method BaseCustomFieldObject.OnWriteField should have comment or be unexported (golint)
    • Line 108: warning: exported type Box should have comment or be unexported (golint)
    • go-mp4/box_info.go
    • Line 10: warning: exported type Context should have comment or be unexported (golint)
    • Line 51: warning: exported method BoxInfo.IsSupportedType should have comment or be unexported (golint)
    • Line 56: warning: exported const SmallHeaderSize should have comment (or a comment on this block) or be unexported (golint)
    • Line 145: warning: exported method BoxInfo.SeekToStart should have comment or be unexported (golint)
    • Line 149: warning: exported method BoxInfo.SeekToPayload should have comment or be unexported (golint)
    • Line 153: warning: exported method BoxInfo.SeekToEnd should have comment or be unexported (golint)
    • go-mp4/anytype.go
    • Line 3: warning: exported type IAnyType should have comment or be unexported (golint)
    • Line 8: warning: exported type AnyTypeBox should have comment or be unexported (golint)
    • Line 13: warning: exported method AnyTypeBox.GetType should have comment or be unexported (golint)
    • Line 17: warning: exported method AnyTypeBox.SetType should have comment or be unexported (golint)
    • go-mp4/read.go
    • Line 9: warning: exported type BoxPath should have comment or be unexported (golint)
    • Line 26: warning: exported type ReadHandle should have comment or be unexported (golint)
    • Line 35: warning: exported type ReadHandler should have comment or be unexported (golint)
    • Line 37: warning: exported function ReadBoxStructure should have comment or be unexported (golint)
    • Line 44: warning: exported function ReadBoxStructureFromInternal should have comment or be unexported (golint)

gocyclo95%

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


ineffassign100%

IneffAssign detects ineffectual assignments in Go code.

No problems detected. Good job!


license100%

Checks whether your project has a LICENSE file.

No problems detected. Good job!


misspell100%

Misspell Finds commonly misspelled English words

No problems detected. Good job!