experiment/google/example_command_room.go
Method RoomCommand.runRoom
has 5 return statements (exceeds 4 allowed). Open
Open
func (a *RoomCommand) runRoom(d command.CommandData) command.Command {
c := command.Command{}
_, err := getGoogleCalendarClient()
if err != nil {
exported type RoomEvents should have comment or be unexported Open
Open
type RoomEvents []RoomEvent
- Exclude checks
exported method RoomCommand.HasHelp should have comment or be unexported Open
Open
func (RoomCommand) HasHelp() bool {
- Exclude checks
exported method RoomCommand.GetRegexp should have comment or be unexported Open
Open
func (RoomCommand) GetRegexp() *regexp.Regexp {
- Exclude checks
exported method RoomCommand.GetMentionCommand should have comment or be unexported Open
Open
func (RoomCommand) GetMentionCommand() string {
- Exclude checks
exported method RoomCommand.GetHelp should have comment or be unexported Open
Open
func (RoomCommand) GetHelp() string {
- Exclude checks
exported type RoomCommand should have comment or be unexported Open
Open
type RoomCommand struct {
- Exclude checks
exported type RoomEvent should have comment or be unexported Open
Open
type RoomEvent struct {
- Exclude checks
exported method RoomCommand.Exec should have comment or be unexported Open
Open
func (a *RoomCommand) Exec(d command.CommandData) {
- Exclude checks