Showing 140 of 140 total issues
exported function StartMonitor should have comment or be unexported Open
Open
func StartMonitor(mon base.VideoMonitor, usersConfig config.UsersConfig, pm videoworker.PluginManager) {
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block Open
Open
} else {
- Exclude checks
exported function HttpPost should have comment or be unexported Open
Open
func HttpPost(client *http.Client, url string, header map[string]string, data []byte) ([]byte, error) {
- Exclude checks
func HttpPost should be HTTPPost Open
Open
func HttpPost(client *http.Client, url string, header map[string]string, data []byte) ([]byte, error) {
- Exclude checks
struct field HttpHeaders should be HTTPHeaders Open
Open
HttpHeaders map[string]string
- Exclude checks
method parameter channelId should be channelID Open
Open
func (y *Youtube) getVideoInfo(ctx *base.MonitorCtx, baseHost string, channelId string) error {
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block Open
Open
} else {
- Exclude checks
exported method ProcessVideo.StartProcessVideo should have comment or be unexported Open
Open
func (p *ProcessVideo) StartProcessVideo() {
- Exclude checks
exported function HttpGet should have comment or be unexported Open
Open
func HttpGet(client *http.Client, url string, header map[string]string) ([]byte, error) {
- Exclude checks
exported method Mock.CheckLive should have comment or be unexported Open
Open
func (m *Mock) CheckLive(usersConfig config.UsersConfig) bool {
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) Open
Open
} else {
- Exclude checks
method HttpGet should be HTTPGet Open
Open
func (c *MonitorCtx) HttpGet(url string, header map[string]string) ([]byte, error) {
- Exclude checks
should not use dot imports Open
Open
. "github.com/fzxiao233/Vtb_Record/utils"
- Exclude checks
exported type LiveStatus should have comment or be unexported Open
Open
type LiveStatus struct {
- Exclude checks
exported type Bilibili should have comment or be unexported Open
Open
type Bilibili struct {
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block Open
Open
} else {
- Exclude checks
exported method Bilibili.CreateVideo should have comment or be unexported Open
Open
func (b *Bilibili) CreateVideo(usersConfig config.UsersConfig) *interfaces.VideoInfo {
- Exclude checks
exported method BilibiliPoller.GetStatus should have comment or be unexported Open
Open
func (b *BilibiliPoller) GetStatus() error {
- Exclude checks
exported type VideoMonitor should have comment or be unexported Open
Open
type VideoMonitor = base.VideoMonitor
- Exclude checks
exported method Bilibili.CheckLive should have comment or be unexported Open
Open
func (b *Bilibili) CheckLive(usersConfig config.UsersConfig) bool {
- Exclude checks