Showing 140 of 140 total issues
comment on exported function CreateMonitorCtx should be of the form "CreateMonitorCtx ..." Open
Open
// monitorCtx contains mod's extraConfig and its own http client
- Exclude checks
exported type Downloader should have comment or be unexported Open
Open
type Downloader struct {
- Exclude checks
exported type BilibiliPoller should have comment or be unexported Open
Open
type BilibiliPoller struct {
- Exclude checks
don't use underscores in Go names; range var mod_i should be modI Open
Open
for mod_i, module := range mods {
- Exclude checks
comment on exported function CreateVideoMonitor should be of the form "CreateVideoMonitor ..." Open
Open
// Monitor is responsible for checking if live starts & live's title/link changed
- Exclude checks
exported type Youtube should have comment or be unexported Open
Open
type Youtube struct {
- Exclude checks
var JsonMsg should be JSONMsg Open
Open
JsonMsg, _ := json.Marshal(msg)
- Exclude checks
exported function GetDownloader should have comment or be unexported Open
Open
func GetDownloader(providerName string) *Downloader {
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block Open
Open
} else {
- Exclude checks
exported function AddSuffix should have comment or be unexported Open
Open
func AddSuffix(aFilepath string, suffix string) string {
- Exclude checks
exported function GetTimeNow should have comment or be unexported Open
Open
func GetTimeNow() string {
- Exclude checks
exported type HeadersConfig should have comment or be unexported Open
Open
type HeadersConfig struct {
- Exclude checks
exported type VideoMonitor should have comment or be unexported Open
Open
type VideoMonitor interface {
- Exclude checks
comment on exported function GetCleanVideoInfo should be of the form "GetCleanVideoInfo ..." Open
Open
// sanitize everything in the videoinfo for downloader & plugins
- Exclude checks
exported method Youtube.CheckLive should have comment or be unexported Open
Open
func (y *Youtube) CheckLive(usersConfig config.UsersConfig) bool {
- Exclude checks
exported type PluginCQBot should have comment or be unexported Open
Open
type PluginCQBot struct {
- Exclude checks
range var GroupId should be GroupID Open
Open
for _, GroupId := range config.QQGroupID {
- Exclude checks
exported method DownloaderStreamlink.StartDownload should have comment or be unexported Open
Open
func (d *DownloaderStreamlink) StartDownload(video *interfaces.VideoInfo, proxy string, cookie string, filepath string) error {
- Exclude checks
exported type PluginCallback should have comment or be unexported Open
Open
type PluginCallback interface {
- Exclude checks
exported function IsFileExist should have comment or be unexported Open
Open
func IsFileExist(aFilepath string) bool {
- Exclude checks