Showing 140 of 140 total issues
exported var TwitSemaphore should have comment or be unexported Open
Open
var TwitSemaphore = semaphore.NewWeighted(3)
- Exclude checks
exported type CQMsg should have comment or be unexported Open
Open
type CQMsg struct {
- Exclude checks
var infoJson should be infoJSON Open
Open
infoJson, _ := simplejson.NewJson(rawInfoJSON)
- Exclude checks
exported type ProcessVideo should have comment or be unexported Open
Open
type ProcessVideo struct {
- Exclude checks
exported method PluginCQBot.DownloadStart should have comment or be unexported Open
Open
func (p *PluginCQBot) DownloadStart(process *videoworker.ProcessVideo) error {
- Exclude checks
exported function StartProcessVideo should have comment or be unexported Open
Open
func StartProcessVideo(LiveTrace monitor.LiveTrace, Monitor monitor.VideoMonitor, Plugins PluginManager) {
- Exclude checks
exported function MapToStruct should have comment or be unexported Open
Open
func MapToStruct(mapVal map[string]interface{}, structVal interface{}) error {
- Exclude checks
func HttpGetBuffer should be HTTPGetBuffer Open
Open
func HttpGetBuffer(client *http.Client, url string, header map[string]string, buf *bytes.Buffer) (*bytes.Buffer, error) {
- Exclude checks
func HttpDoWithBufferEx should be HTTPDoWithBufferEx Open
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) {
- Exclude checks
exported function RPartition should have comment or be unexported Open
Open
func RPartition(s string, sep string) (string, string, string) {
- Exclude checks
exported type Mock should have comment or be unexported Open
Open
type Mock struct {
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block Open
Open
} else {
- Exclude checks
var infoJson should be infoJSON Open
Open
infoJson, _ := simplejson.NewJson(rawInfoJSON)
- Exclude checks
exported type CQConfig should have comment or be unexported Open
Open
type CQConfig struct {
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block Open
Open
} else {
- Exclude checks
exported function RemoveIllegalChar should have comment or be unexported Open
Open
func RemoveIllegalChar(Title string) string {
- Exclude checks
exported function RandChooseStr should have comment or be unexported Open
Open
func RandChooseStr(arr []string) string {
- Exclude checks
method HttpPost should be HTTPPost Open
Open
func (c *MonitorCtx) HttpPost(url string, header map[string]string, data []byte) ([]byte, error) {
- Exclude checks
exported method MonitorCtx.GetHeaders should have comment or be unexported Open
Open
func (c *MonitorCtx) GetHeaders() map[string]string {
- Exclude checks
var proxyUrl should be proxyURL Open
Open
proxyUrl, _ := url.Parse("socks5://" + proxy)
- Exclude checks