all: remove unneeded parentheses (#21921)

* remove uneeded convertion type

* remove redundant type in composite literal

* omit explicit type where implicit

* remove unused redundant parenthesis

* remove redundant import alias duktape
This commit is contained in:
Alex Prut authored and GitHub committed 2021-02-02 11:32:44 +02:00
1 parent 4eae0c6b6f
commit ef84da8481
15 files changed
+23 -23

No files matched your search

+2 -2
View File
@@ -82,11 +82,11 @@ func (f *FullService) Stop() error { return nil }
func (f *FullService) Protocols() []p2p.Protocol {
return []p2p.Protocol{
p2p.Protocol{
{
Name: "test1",
Version: uint(1),
},
p2p.Protocol{
{
Name: "test2",
Version: uint(2),
},