Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = SCAnalyzer.Analyzer
View Source
var SCAnalyzer = lint.InitializeAnalyzer(&lint.Analyzer{ Analyzer: &analysis.Analyzer{ Name: "SA1003", Requires: []*analysis.Analyzer{buildir.Analyzer}, Run: callcheck.Analyzer(checkEncodingBinaryRules), }, Doc: &lint.RawDocumentation{ Title: `Unsupported argument to functions in \'encoding/binary\'`, Text: `The \'encoding/binary\' package can only serialize types with known sizes. This precludes the use of the \'int\' and \'uint\' types, as their sizes differ on different architectures. Furthermore, it doesn't support serializing maps, channels, strings, or functions. Before Go 1.8, \'bool\' wasn't supported, either.`, Since: "2017.1", Severity: lint.SeverityError, MergeIf: lint.MergeIfAny, }, })
Functions ¶
func CanBinaryMarshal ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.