fzxiao233/Vtb_Record

View on GitHub

Showing 140 of 140 total issues

exported var TwitSemaphore should have comment or be unexported
Open

var TwitSemaphore = semaphore.NewWeighted(3)

exported type CQMsg should have comment or be unexported
Open

type CQMsg struct {
Severity: Minor
Found in live/plugins/cqBot.go by golint

var infoJson should be infoJSON
Open

    infoJson, _ := simplejson.NewJson(rawInfoJSON)

exported type ProcessVideo should have comment or be unexported
Open

type ProcessVideo struct {
Severity: Minor
Found in live/videoworker/videoProcesser.go by golint

exported method PluginCQBot.DownloadStart should have comment or be unexported
Open

func (p *PluginCQBot) DownloadStart(process *videoworker.ProcessVideo) error {
Severity: Minor
Found in live/plugins/cqBot.go by golint

exported function StartProcessVideo should have comment or be unexported
Open

func StartProcessVideo(LiveTrace monitor.LiveTrace, Monitor monitor.VideoMonitor, Plugins PluginManager) {
Severity: Minor
Found in live/videoworker/videoProcesser.go by golint

exported function MapToStruct should have comment or be unexported
Open

func MapToStruct(mapVal map[string]interface{}, structVal interface{}) error {
Severity: Minor
Found in utils/utils.go by golint

func HttpGetBuffer should be HTTPGetBuffer
Open

func HttpGetBuffer(client *http.Client, url string, header map[string]string, buf *bytes.Buffer) (*bytes.Buffer, error) {
Severity: Minor
Found in utils/utils.go by golint

func HttpDoWithBufferEx should be HTTPDoWithBufferEx
Open

func HttpDoWithBufferEx(ctx context.Context, client *http.Client, meth string, url string, header map[string]string, data []byte, buf *bytes.Buffer) (*bytes.Buffer, error) {
Severity: Minor
Found in utils/utils.go by golint

exported function RPartition should have comment or be unexported
Open

func RPartition(s string, sep string) (string, string, string) {
Severity: Minor
Found in utils/utils.go by golint

exported type Mock should have comment or be unexported
Open

type Mock struct {
Severity: Minor
Found in live/monitor/base/mock.go by golint

if block ends with a return statement, so drop this else and outdent its block
Open

    } else {
Severity: Minor
Found in live/monitor/bilibili/bilibili.go by golint

var infoJson should be infoJSON
Open

    infoJson, _ := simplejson.NewJson(rawInfoJSON)
Severity: Minor
Found in live/monitor/bilibili/bilibili.go by golint

exported type CQConfig should have comment or be unexported
Open

type CQConfig struct {
Severity: Minor
Found in live/plugins/cqBot.go by golint

if block ends with a return statement, so drop this else and outdent its block
Open

    } else {

exported function RemoveIllegalChar should have comment or be unexported
Open

func RemoveIllegalChar(Title string) string {
Severity: Minor
Found in utils/utils.go by golint

exported function RandChooseStr should have comment or be unexported
Open

func RandChooseStr(arr []string) string {
Severity: Minor
Found in utils/utils.go by golint

method HttpPost should be HTTPPost
Open

func (c *MonitorCtx) HttpPost(url string, header map[string]string, data []byte) ([]byte, error) {
Severity: Minor
Found in live/monitor/base/monitorbase.go by golint

exported method MonitorCtx.GetHeaders should have comment or be unexported
Open

func (c *MonitorCtx) GetHeaders() map[string]string {
Severity: Minor
Found in live/monitor/base/monitorbase.go by golint

var proxyUrl should be proxyURL
Open

        proxyUrl, _ := url.Parse("socks5://" + proxy)
Severity: Minor
Found in live/monitor/base/monitorbase.go by golint
Severity
Category
Status
Source
Language