Merge pull request #1958 from nspcc-dev/linter

Linter improvements
This commit is contained in:
Roman Khimov 2021-05-13 10:52:58 +03:00 committed by GitHub
commit 834743ec88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
131 changed files with 387 additions and 624 deletions

View file

@ -345,7 +345,7 @@ func (d *DebugParam) UnmarshalJSON(data []byte) error {
return nil
}
// ToManifestParameter converts DebugParam to manifest.Parameter
// ToManifestParameter converts DebugParam to manifest.Parameter.
func (d *DebugParam) ToManifestParameter() manifest.Parameter {
return manifest.Parameter{
Name: d.Name,
@ -353,7 +353,7 @@ func (d *DebugParam) ToManifestParameter() manifest.Parameter {
}
}
// ToManifestMethod converts MethodDebugInfo to manifest.Method
// ToManifestMethod converts MethodDebugInfo to manifest.Method.
func (m *MethodDebugInfo) ToManifestMethod() manifest.Method {
var (
result manifest.Method