From f8137cf2aa8fe9cfbefa5d749169bf8196c7ae87 Mon Sep 17 00:00:00 2001 From: "Maciej \"Iwan\" Iwanowski" Date: Thu, 23 Apr 2020 09:39:49 +0200 Subject: [PATCH] Updating generated files Signed-off-by: Maciej "Iwan" Iwanowski --- README.md | 2 +- docs/demo.svg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 31936cf9..47bc04d9 100644 --- a/README.md +++ b/README.md @@ -568,7 +568,7 @@ Flags: # gosec: False positive is triggered by 'src, err := ioutil.ReadFile(filename)' - Potential file inclusion via variable (default true) - --exclude-case-sensitive If set to true exclude rules are case sensitive + --exclude-case-sensitive If set to true exclude and exclude rules regular expressions are case sensitive --max-issues-per-linter int Maximum issues count per one linter. Set to 0 to disable (default 50) --max-same-issues int Maximum count of issues with the same text. Set to 0 to disable (default 3) -n, --new Show only new issues: if there are unstaged changes or untracked files, only those changes are analyzed, else only changes in HEAD~ are analyzed. diff --git a/docs/demo.svg b/docs/demo.svg index d5dbb4a8..da93b49d 100644 --- a/docs/demo.svg +++ b/docs/demo.svg @@ -1 +1 @@ -^~/go/src/github.com/astaxie/beego(master)$golangci-lintadmin.go:85:13:Errorreturnvalueof`r.ParseForm`isnotchecked(errcheck)r.ParseForm()^admin.go:88:11:Errorreturnvalueof`rw.Write`isnotchecked(errcheck)rw.Write([]byte("commandnotsupport"))^admin.go:105:15:Errorreturnvalueof`tmpl.Execute`isnotchecked(errcheck)tmpl.Execute(rw,data)^admin.go:160:11:Errorreturnvalueof`rw.Write`isnotchecked(errcheck)admin.go:246:13:Errorreturnvalueof`r.ParseForm`isnotchecked(errcheck)admin.go:268:11:Errorreturnvalueof`rw.Write`isnotchecked(errcheck)rw.Write(dataJSON)admin.go:321:15:Errorreturnvalueof`req.ParseForm`isnotchecked(errcheck)req.ParseForm()^admin.go:366:14:Errorreturnvalueof`tmpl.Execute`isnotchecked(errcheck)tmpl.Execute(rw,data)^app.go:477:30:Errorreturnvalueof`BeeApp.Handlers.InsertFilter`isnotchecked(errcheck)BeeApp.Handlers.InsertFilter(pattern,pos,filter,params...)^beego.go:106:10:Errorreturnvalueof`os.Chdir`isnotchecked(errcheck)os.Chdir(ap)^cache/file.go:69:16:Errorreturnvalueof`json.Unmarshal`isnotchecked(errcheck)json.Unmarshal([]byte(config),&cfg)^cache/file.go:101:16:Errorreturnvalueof`io.WriteString`isnotchecked(errcheck)io.WriteString(m,key)cache/file.go:126:11:Errorreturnvalueof`GobDecode`isnotchecked(errcheck)GobDecode(fileData,&to)^cache/file.go:182:8:Errorreturnvalueof`fc.Put`isnotchecked(errcheck)fc.Put(key,incr,FileCacheEmbedExpiry)^cache/file.go:195:8:Errorreturnvalueof`fc.Put`isnotchecked(errcheck)fc.Put(key,decr,FileCacheEmbedExpiry)cache/memcache/memcache.go:167:16:Errorreturnvalueof`json.Unmarshal`isnotchecked(errcheck)json.Unmarshal([]byte(config),&cf)cache/memory.go:198:16:Errorreturnvalueof`json.Unmarshal`isnotchecked(errcheck)config/ini.go:77:16:Errorreturnvalueof`buf.ReadByte`isnotchecked(errcheck)buf.ReadByte()context/context.go:86:26:Errorreturnvalueof`ctx.ResponseWriter.Write`isnotchecked(errcheck)ctx.ResponseWriter.Write([]byte(content))^context/input.go:321:34:Errorreturnvalueof`input.Context.Request.ParseForm`isnotchecked(errcheck)input.Context.Request.ParseForm()^context/input.go:444:34:Errorreturnvalueof`input.Context.Request.ParseForm`isnotchecked(errcheck)context/output.go:82:9:Errorreturnvalueof`io.Copy`isnotchecked(errcheck)io.Copy(output.Context.ResponseWriter,buf)^context/output.go:173:18:Errorreturnvalueof`ctx.Output.JSON`isnotchecked(errcheck)ctx.Output.JSON(value,false,false)^context/output.go:180:18:Errorreturnvalueof`ctx.Output.Body`isnotchecked(errcheck)ctx.Output.Body([]byte(err.Error()))context/output.go:361:37:Errorreturnvalueof`output.Context.Input.CruSession.Set`isnotchecked(errcheck)output.Context.Input.CruSession.Set(name,value)^controller.go:235:26:Errorreturnvalueof`ExecuteViewPathTemplate`isnotchecked(errcheck)ExecuteViewPathTemplate(&buf,c.Layout,c.viewPath(),c.Data)^controller.go:261:16:Errorreturnvalueof`BuildTemplate`isnotchecked(errcheck)BuildTemplate(c.viewPath(),buildFiles...)^controller.go:296:28:Errorreturnvalueof`c.Ctx.ResponseWriter.Write`isnotchecked(errcheck)c.Ctx.ResponseWriter.Write([]byte(body))^controller.go:329:19:Errorreturnvalueof`c.Ctx.Output.JSON`isnotchecked(errcheck)c.Ctx.Output.JSON(c.Data["json"],hasIndent,hasEncoding)^controller.go:338:20:Errorreturnvalueof`c.Ctx.Output.JSONP`isnotchecked(errcheck)c.Ctx.Output.JSONP(c.Data["jsonp"],hasIndent)^controller.go:347:18:Errorreturnvalueof`c.Ctx.Output.XML`isnotchecked(errcheck)c.Ctx.Output.XML(c.Data["xml"],hasIndent)controller.go:366:26:Errorreturnvalueof`c.Ctx.Request.ParseForm`isnotchecked(errcheck)c.Ctx.Request.ParseForm()controller.go:562:9:Errorreturnvalueof`io.Copy`isnotchecked(errcheck)io.Copy(f,file)controller.go:579:18:Errorreturnvalueof`c.CruSession.Set`isnotchecked(errcheck)c.CruSession.Set(name,value)controller.go:595:21:Errorreturnvalueof`c.CruSession.Delete`isnotchecked(errcheck)c.CruSession.Delete(name)^controller.go:610:30:Errorreturnvalueof`c.Ctx.Input.CruSession.Flush`isnotchecked(errcheck)c.Ctx.Input.CruSession.Flush()error.go:101:11:Errorreturnvalueof`t.Execute`isnotchecked(errcheck)t.Execute(ctx.ResponseWriter,data)error.go:374:11:Errorreturnvalueof`t.Execute`isnotchecked(errcheck)t.Execute(rw,data)grace/listener.go:37:17:Errorreturnvalueof`tc.SetKeepAlive`isnotchecked(errcheck)tc.SetKeepAlive(true)~/go/src/github.com/astaxie/beego(master)$golangci-lintrungrace/listener.go:38:23:Errorreturnvalueof`tc.SetKeepAlivePeriod`isnotchecked(errcheck)tc.SetKeepAlivePeriod(3*time.Minute)hooks.go:17:24:Errorreturnvalueof`mime.AddExtensionType`isnotchecked(errcheck)mime.AddExtensionType(k,v)^httplib/httplib.go:383:28:Errorreturnvalueof`bodyWriter.WriteField`isnotchecked(errcheck)bodyWriter.WriteField(k,vv)^logs/conn.go:94:23:Errorreturnvalueof`tcpConn.SetKeepAlive`isnotchecked(errcheck)tcpConn.SetKeepAlive(true)logs/file.go:167:11:Errorreturnvalueof`os.Chmod`isnotchecked(errcheck)os.Chmod(w.Filename,os.FileMode(perm))logs/file.go:300:15:Errorreturnvalueof`filepath.Walk`isnotchecked(errcheck)filepath.Walk(dir,func(pathstring,infoos.FileInfo,errerror)(returnErrerror){logs/file.go:330:19:Errorreturnvalueof`w.fileWriter.Sync`isnotchecked(errcheck)w.fileWriter.Sync()logs/log.go:153:14:Errorreturnvalueof`bl.setLogger`isnotchecked(errcheck)bl.setLogger(AdapterConsole)logs/log.go:263:15:Errorreturnvalueof`bl.setLogger`isnotchecked(errcheck)bl.setLogger(AdapterConsole)logs/log.go:355:13:Errorreturnvalueof`bl.writeMsg`isnotchecked(errcheck)bl.writeMsg(LevelEmergency,format,v...)logs/log.go:363:13:Errorreturnvalueof`bl.writeMsg`isnotchecked(errcheck)bl.writeMsg(LevelAlert,format,v...)logs/smtp.go:78:G402:TLSInsecureSkipVerifysettrue.(gas)InsecureSkipVerify:true,orm/db.go:283:G201:SQLstringformatting(gas)query:=fmt.Sprintf("INSERTINTO%s%s%s(%s%s%s)VALUES(%s)",Q,mi.table,Q,Q,columns,Q,qmarks)orm/db.go:350:G201:SQLstringformatting(gas)query:=fmt.Sprintf("SELECT%s%s%sFROM%s%s%sWHERE%s%s%s=?%s",Q,sels,Q,Q,mi.table,Q,Q,wheres,Q,forUpdate)orm/db.go:477:G201:SQLstringformatting(gas)orm/db.go:576:G202:SQLstringconcatenation(gas)query:=fmt.Sprintf("INSERTINTO%s%s%s(%s%s%s)VALUES(%s)%s"+qupdates,Q,mi.table,Q,Q,columns,Q,qmarks,iouStr)orm/db_mysql.go:157:G202:SQLstringconcatenation(gas)orm/db_tables.go:387:G202:SQLstringconcatenation(gas)where="WHERE"+wherelogs/alils/request.go:5:G501:Blacklistedimportcrypto/md5:weakcryptographicprimitive(gas)"crypto/md5"logs/alils/request.go:26:G401:Useofweakcryptographicprimitive(gas)bodyMD5:=fmt.Sprintf("%X",md5.Sum(body))cache/file.go:19:G501:Blacklistedimportcrypto/md5:weakcryptographicprimitive(gas)cache/file.go:100:G401:Useofweakcryptographicprimitive(gas)m:=md5.New()controller.go:230:G203:thismethodwillnotauto-escapeHTML.Verifydataiswellformed.(gas)c.Data[sectionName]=template.HTML(buf.String())error.go:372:G203:thismethodwillnotauto-escapeHTML.Verifydataiswellformed.(gas)"Content":template.HTML(errContent),templatefunc.go:272:G203:thismethodwillnotauto-escapeHTML.Verifydataiswellformed.(gas)returntemplate.HTML(text)logs/alils/log.pb.go:328:6:`encodeFixed64Log`isunused(deadcode)funcencodeFixed64Log(data[]byte,offsetint,vuint64)int{^logs/alils/log.pb.go:339:6:`encodeFixed32Log`isunused(deadcode)funcencodeFixed32Log(data[]byte,offsetint,vuint32)int{logs/alils/log.pb.go:447:6:`sozLog`isunused(deadcode)funcsozLog(xuint64)(nint){context/param/methodparams.go:19:2:`param`isunused(deadcode)paramparamType=iota^session/memcache/sess_memcache.go:109:2:`poolsize`isunused(structcheck)poolsizeintsession/memcache/sess_memcache.go:110:2:`password`isunused(structcheck)passwordstringorm/orm_log.go:110:2:`tx`isunused(structcheck)txtxerorm/orm_log.go:111:2:`txe`isunused(structcheck)txetxEnderorm/models_info_f.go:36:2:`rels`isunused(structcheck)rels[]*fieldInfocontroller.go:76:2:`gotofunc`isunused(structcheck)gotofuncstringparser.go:183:42:cutsetcontainsduplicatecharacters(megacheck)t:=strings.TrimSpace(strings.TrimLeft(c.Text,"//"))^parser.go:200:54:cutsetcontainsduplicatecharacters(megacheck)pv:=getparams(strings.TrimSpace(strings.TrimLeft(t,"@Param")))^session/sess_file.go:140:6:thisvalueoferrisneverused(megacheck)f,err=os.OpenFile(path.Join(fp.savePath,string(sid[0]),string(sid[1]),sid),os.O_RDWR,0777)session/sess_file.go:142:6:thisvalueoferrisneverused(megacheck)f,err=os.Create(path.Join(fp.savePath,string(sid[0]),string(sid[1]),sid))cache/memory.go:41:9:shouldusetime.Sinceinsteadoftime.Now().Sub(megacheck)returntime.Now().Sub(mi.createdTime)>mi.lifespanorm/orm_log.go:39:9:shouldusetime.Sinceinsteadoftime.Now().Sub(megacheck)sub:=time.Now().Sub(t)/1e5toolbox/profile.go:109:14:shouldusetime.Sinceinsteadoftime.Now().Sub(megacheck)elapsed:=time.Now().Sub(startTime)orm/db_tables.go:77:20:func(*dbTables).getisunused(megacheck)func(t*dbTables)get(namestring)(*dbTable,bool){~/go/src/github.com/astaxie/beego(master)$#~/go/src/github.com/astaxie/beego(master)$#too~/go/src/github.com/astaxie/beego(master)$#toomuch~/go/src/github.com/astaxie/beego(master)$#toomuchissues,~/go/src/github.com/astaxie/beego(master)$golangci-~/go/src/github.com/astaxie/beego(master)$golangci-l~/go/src/github.com/astaxie/beego(master)$golangci-li~/go/src/github.com/astaxie/beego(master)$golangci-lin~/go/src/github.com/astaxie/beego(master)$golangci-lintr~/go/src/github.com/astaxie/beego(master)$golangci-lintruorm/orm_log.go:39:9:s~/go/src/github.com/astaxie/beego(master)$~/go/src/github.com/astaxie/beego(master)$#t~/go/src/github.com/astaxie/beego(master)$#to~/go/src/github.com/astaxie/beego(master)$#toom~/go/src/github.com/astaxie/beego(master)$#toomu~/go/src/github.com/astaxie/beego(master)$#toomuc~/go/src/github.com/astaxie/beego(master)$#toomuchi~/go/src/github.com/astaxie/beego(master)$#toomuchis~/go/src/github.com/astaxie/beego(master)$#toomuchiss~/go/src/github.com/astaxie/beego(master)$#toomuchissu~/go/src/github.com/astaxie/beego(master)$#toomuchissue~/go/src/github.com/astaxie/beego(master)$#toomuchissues~/go/src/github.com/astaxie/beego(master)$#toomuchissues,l~/go/src/github.com/astaxie/beego(master)$#toomuchissues,le~/go/src/github.com/astaxie/beego(master)$#toomuchissues,let~/go/src/github.com/astaxie/beego(master)$#toomuchissues,let' \ No newline at end of file +~/go/src/github.com/astaxie/beego(master)$golangci-lint~/go/src/github.com/astaxie/beego(master)$golangci-lintrunadmin.go:85:13:Errorreturnvalueof`r.ParseForm`isnotchecked(errcheck)r.ParseForm()^admin.go:88:11:Errorreturnvalueof`rw.Write`isnotchecked(errcheck)rw.Write([]byte("commandnotsupport"))^admin.go:105:15:Errorreturnvalueof`tmpl.Execute`isnotchecked(errcheck)tmpl.Execute(rw,data)^admin.go:160:11:Errorreturnvalueof`rw.Write`isnotchecked(errcheck)admin.go:246:13:Errorreturnvalueof`r.ParseForm`isnotchecked(errcheck)admin.go:268:11:Errorreturnvalueof`rw.Write`isnotchecked(errcheck)rw.Write(dataJSON)admin.go:321:15:Errorreturnvalueof`req.ParseForm`isnotchecked(errcheck)req.ParseForm()^admin.go:366:14:Errorreturnvalueof`tmpl.Execute`isnotchecked(errcheck)tmpl.Execute(rw,data)^app.go:477:30:Errorreturnvalueof`BeeApp.Handlers.InsertFilter`isnotchecked(errcheck)BeeApp.Handlers.InsertFilter(pattern,pos,filter,params...)^beego.go:106:10:Errorreturnvalueof`os.Chdir`isnotchecked(errcheck)os.Chdir(ap)^cache/file.go:69:16:Errorreturnvalueof`json.Unmarshal`isnotchecked(errcheck)json.Unmarshal([]byte(config),&cfg)^cache/file.go:101:16:Errorreturnvalueof`io.WriteString`isnotchecked(errcheck)io.WriteString(m,key)cache/file.go:126:11:Errorreturnvalueof`GobDecode`isnotchecked(errcheck)GobDecode(fileData,&to)^cache/file.go:182:8:Errorreturnvalueof`fc.Put`isnotchecked(errcheck)fc.Put(key,incr,FileCacheEmbedExpiry)^cache/file.go:195:8:Errorreturnvalueof`fc.Put`isnotchecked(errcheck)fc.Put(key,decr,FileCacheEmbedExpiry)cache/memcache/memcache.go:167:16:Errorreturnvalueof`json.Unmarshal`isnotchecked(errcheck)json.Unmarshal([]byte(config),&cf)cache/memory.go:198:16:Errorreturnvalueof`json.Unmarshal`isnotchecked(errcheck)config/ini.go:77:16:Errorreturnvalueof`buf.ReadByte`isnotchecked(errcheck)buf.ReadByte()context/context.go:86:26:Errorreturnvalueof`ctx.ResponseWriter.Write`isnotchecked(errcheck)ctx.ResponseWriter.Write([]byte(content))^context/input.go:321:34:Errorreturnvalueof`input.Context.Request.ParseForm`isnotchecked(errcheck)input.Context.Request.ParseForm()^context/input.go:444:34:Errorreturnvalueof`input.Context.Request.ParseForm`isnotchecked(errcheck)context/output.go:82:9:Errorreturnvalueof`io.Copy`isnotchecked(errcheck)io.Copy(output.Context.ResponseWriter,buf)^context/output.go:173:18:Errorreturnvalueof`ctx.Output.JSON`isnotchecked(errcheck)ctx.Output.JSON(value,false,false)^context/output.go:180:18:Errorreturnvalueof`ctx.Output.Body`isnotchecked(errcheck)ctx.Output.Body([]byte(err.Error()))context/output.go:361:37:Errorreturnvalueof`output.Context.Input.CruSession.Set`isnotchecked(errcheck)output.Context.Input.CruSession.Set(name,value)^controller.go:235:26:Errorreturnvalueof`ExecuteViewPathTemplate`isnotchecked(errcheck)ExecuteViewPathTemplate(&buf,c.Layout,c.viewPath(),c.Data)^controller.go:261:16:Errorreturnvalueof`BuildTemplate`isnotchecked(errcheck)BuildTemplate(c.viewPath(),buildFiles...)^controller.go:296:28:Errorreturnvalueof`c.Ctx.ResponseWriter.Write`isnotchecked(errcheck)c.Ctx.ResponseWriter.Write([]byte(body))^controller.go:329:19:Errorreturnvalueof`c.Ctx.Output.JSON`isnotchecked(errcheck)c.Ctx.Output.JSON(c.Data["json"],hasIndent,hasEncoding)^controller.go:338:20:Errorreturnvalueof`c.Ctx.Output.JSONP`isnotchecked(errcheck)c.Ctx.Output.JSONP(c.Data["jsonp"],hasIndent)^controller.go:347:18:Errorreturnvalueof`c.Ctx.Output.XML`isnotchecked(errcheck)c.Ctx.Output.XML(c.Data["xml"],hasIndent)controller.go:366:26:Errorreturnvalueof`c.Ctx.Request.ParseForm`isnotchecked(errcheck)c.Ctx.Request.ParseForm()controller.go:562:9:Errorreturnvalueof`io.Copy`isnotchecked(errcheck)io.Copy(f,file)controller.go:579:18:Errorreturnvalueof`c.CruSession.Set`isnotchecked(errcheck)c.CruSession.Set(name,value)controller.go:595:21:Errorreturnvalueof`c.CruSession.Delete`isnotchecked(errcheck)c.CruSession.Delete(name)^controller.go:610:30:Errorreturnvalueof`c.Ctx.Input.CruSession.Flush`isnotchecked(errcheck)c.Ctx.Input.CruSession.Flush()error.go:101:11:Errorreturnvalueof`t.Execute`isnotchecked(errcheck)t.Execute(ctx.ResponseWriter,data)error.go:374:11:Errorreturnvalueof`t.Execute`isnotchecked(errcheck)t.Execute(rw,data)grace/listener.go:37:17:Errorreturnvalueof`tc.SetKeepAlive`isnotchecked(errcheck)tc.SetKeepAlive(true)^grace/listener.go:38:23:Errorreturnvalueof`tc.SetKeepAlivePeriod`isnotchecked(errcheck)tc.SetKeepAlivePeriod(3*time.Minute)hooks.go:17:24:Errorreturnvalueof`mime.AddExtensionType`isnotchecked(errcheck)mime.AddExtensionType(k,v)^httplib/httplib.go:383:28:Errorreturnvalueof`bodyWriter.WriteField`isnotchecked(errcheck)bodyWriter.WriteField(k,vv)^logs/conn.go:94:23:Errorreturnvalueof`tcpConn.SetKeepAlive`isnotchecked(errcheck)tcpConn.SetKeepAlive(true)logs/file.go:167:11:Errorreturnvalueof`os.Chmod`isnotchecked(errcheck)os.Chmod(w.Filename,os.FileMode(perm))logs/file.go:300:15:Errorreturnvalueof`filepath.Walk`isnotchecked(errcheck)filepath.Walk(dir,func(pathstring,infoos.FileInfo,errerror)(returnErrerror){logs/file.go:330:19:Errorreturnvalueof`w.fileWriter.Sync`isnotchecked(errcheck)w.fileWriter.Sync()logs/log.go:153:14:Errorreturnvalueof`bl.setLogger`isnotchecked(errcheck)bl.setLogger(AdapterConsole)logs/log.go:263:15:Errorreturnvalueof`bl.setLogger`isnotchecked(errcheck)bl.setLogger(AdapterConsole)logs/log.go:355:13:Errorreturnvalueof`bl.writeMsg`isnotchecked(errcheck)bl.writeMsg(LevelEmergency,format,v...)logs/log.go:363:13:Errorreturnvalueof`bl.writeMsg`isnotchecked(errcheck)bl.writeMsg(LevelAlert,format,v...)logs/smtp.go:78:G402:TLSInsecureSkipVerifysettrue.(gas)InsecureSkipVerify:true,orm/db.go:283:G201:SQLstringformatting(gas)query:=fmt.Sprintf("INSERTINTO%s%s%s(%s%s%s)VALUES(%s)",Q,mi.table,Q,Q,columns,Q,qmarks)orm/db.go:350:G201:SQLstringformatting(gas)query:=fmt.Sprintf("SELECT%s%s%sFROM%s%s%sWHERE%s%s%s=?%s",Q,sels,Q,Q,mi.table,Q,Q,wheres,Q,forUpdate)orm/db.go:477:G201:SQLstringformatting(gas)orm/db.go:576:G202:SQLstringconcatenation(gas)query:=fmt.Sprintf("INSERTINTO%s%s%s(%s%s%s)VALUES(%s)%s"+qupdates,Q,mi.table,Q,Q,columns,Q,qmarks,iouStr)orm/db_mysql.go:157:G202:SQLstringconcatenation(gas)orm/db_tables.go:387:G202:SQLstringconcatenation(gas)where="WHERE"+wherelogs/alils/request.go:5:G501:Blacklistedimportcrypto/md5:weakcryptographicprimitive(gas)"crypto/md5"logs/alils/request.go:26:G401:Useofweakcryptographicprimitive(gas)bodyMD5:=fmt.Sprintf("%X",md5.Sum(body))cache/file.go:19:G501:Blacklistedimportcrypto/md5:weakcryptographicprimitive(gas)cache/file.go:100:G401:Useofweakcryptographicprimitive(gas)m:=md5.New()controller.go:230:G203:thismethodwillnotauto-escapeHTML.Verifydataiswellformed.(gas)c.Data[sectionName]=template.HTML(buf.String())error.go:372:G203:thismethodwillnotauto-escapeHTML.Verifydataiswellformed.(gas)"Content":template.HTML(errContent),templatefunc.go:272:G203:thismethodwillnotauto-escapeHTML.Verifydataiswellformed.(gas)returntemplate.HTML(text)logs/alils/log.pb.go:328:6:`encodeFixed64Log`isunused(deadcode)funcencodeFixed64Log(data[]byte,offsetint,vuint64)int{^logs/alils/log.pb.go:339:6:`encodeFixed32Log`isunused(deadcode)funcencodeFixed32Log(data[]byte,offsetint,vuint32)int{logs/alils/log.pb.go:447:6:`sozLog`isunused(deadcode)funcsozLog(xuint64)(nint){context/param/methodparams.go:19:2:`param`isunused(deadcode)paramparamType=iota^session/memcache/sess_memcache.go:109:2:`poolsize`isunused(structcheck)poolsizeintsession/memcache/sess_memcache.go:110:2:`password`isunused(structcheck)passwordstringorm/orm_log.go:110:2:`tx`isunused(structcheck)txtxerorm/orm_log.go:111:2:`txe`isunused(structcheck)txetxEnderorm/models_info_f.go:36:2:`rels`isunused(structcheck)rels[]*fieldInfocontroller.go:76:2:`gotofunc`isunused(structcheck)gotofuncstringparser.go:183:42:cutsetcontainsduplicatecharacters(megacheck)t:=strings.TrimSpace(strings.TrimLeft(c.Text,"//"))^parser.go:200:54:cutsetcontainsduplicatecharacters(megacheck)pv:=getparams(strings.TrimSpace(strings.TrimLeft(t,"@Param")))^session/sess_file.go:140:6:thisvalueoferrisneverused(megacheck)f,err=os.OpenFile(path.Join(fp.savePath,string(sid[0]),string(sid[1]),sid),os.O_RDWR,0777)session/sess_file.go:142:6:thisvalueoferrisneverused(megacheck)f,err=os.Create(path.Join(fp.savePath,string(sid[0]),string(sid[1]),sid))cache/memory.go:41:9:shouldusetime.Sinceinsteadoftime.Now().Sub(megacheck)returntime.Now().Sub(mi.createdTime)>mi.lifespanorm/orm_log.go:39:9:shouldusetime.Sinceinsteadoftime.Now().Sub(megacheck)sub:=time.Now().Sub(t)/1e5toolbox/profile.go:109:14:shouldusetime.Sinceinsteadoftime.Now().Sub(megacheck)elapsed:=time.Now().Sub(startTime)orm/db_tables.go:77:20:func(*dbTables).getisunused(megacheck)func(t*dbTables)get(namestring)(*dbTable,bool){~/go/src/github.com/astaxie/beego(master)$#~/go/src/github.com/astaxie/beego(master)$#too~/go/src/github.com/astaxie/beego(master)$#toomuch~/go/src/github.com/astaxie/beego(master)$#toomuchissues,~/go/src/github.com/astaxie/beego(master)$golangci-~/go/src/github.com/astaxie/beego(master)$golangci-l~/go/src/github.com/astaxie/beego(master)$golangci-li~/go/src/github.com/astaxie/beego(master)$golangci-lin~/go/src/github.com/astaxie/beego(master)$golangci-lintr~/go/src/github.com/astaxie/beego(master)$golangci-lintruorm/orm_log.go:39:9:s~/go/src/github.com/astaxie/beego(master)$~/go/src/github.com/astaxie/beego(master)$#t~/go/src/github.com/astaxie/beego(master)$#to~/go/src/github.com/astaxie/beego(master)$#toom~/go/src/github.com/astaxie/beego(master)$#toomu~/go/src/github.com/astaxie/beego(master)$#toomuc~/go/src/github.com/astaxie/beego(master)$#toomuchi~/go/src/github.com/astaxie/beego(master)$#toomuchis~/go/src/github.com/astaxie/beego(master)$#toomuchiss~/go/src/github.com/astaxie/beego(master)$#toomuchissu~/go/src/github.com/astaxie/beego(master)$#toomuchissue~/go/src/github.com/astaxie/beego(master)$#toomuchissues~/go/src/github.com/astaxie/beego(master)$#toomuchissues,l~/go/src/github.com/astaxie/beego(master)$#toomuchissues,le~/go/src/github.com/astaxie/beego(master)$#toomuchissues,let~/go/src/github.com/astaxie/beego(master)$#toomuchissues,let' \ No newline at end of file