File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 " asciicheck" ,
99 " bidichk" ,
1010 " contextcheck" ,
11+ " decorder" ,
1112 " depguard" ,
1213 " dogsled" ,
1314 " dupl" ,
15+ " dupword" ,
1416 " errcheck" ,
1517 " errname" ,
1618 " errorlint" ,
1719 " exportloopref" ,
1820 " forcetypeassert" ,
21+ " gocheckcompilerdirectives" ,
1922 " goconst" ,
2023 " gocyclo" ,
2124 " godot" ,
3740 " unparam" ,
3841 " unused" ,
3942 " vetshadow" ,
43+ " wastedassign" ,
4044 " whitespace" ,
4145 ]
4246
Original file line number Diff line number Diff line change @@ -44,8 +44,8 @@ func init() {
4444 return
4545 }
4646 }
47- password := ""
48- locked := false
47+ var password string
48+ var locked bool
4949 db .Channel , password , locked = getChannelParams (db .Channel )
5050 if db .Channel == "" {
5151 enc , encerr := Encode (Data {
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ func fullPath(old_path string) string {
5555 return cleanPath (e_path )
5656 }
5757 e_path = ""
58- n_path := ""
58+ var n_path string
5959 err = nil
6060 for _ , v := range strings .Split (path , PS ) {
6161 e_path += v + PS
You can’t perform that action at this time.
0 commit comments