gmantaos/Goirate

View on GitHub
src/series/tvmaze.go

Summary

Maintainability
A
45 mins
Test Coverage

Method TVmazeToken.Search has 7 return statements (exceeds 4 allowed).
Open

func (tkn *TVmazeToken) Search(searchName string) ([]TVmazeSeries, error) {

    var searchResults []TVmazeSeries

    var searchResponse []struct {
Severity: Major
Found in src/series/tvmaze.go - About 45 mins to fix

    exported type TVmazeSeries should have comment or be unexported
    Open

    type TVmazeSeries struct {
    Severity: Minor
    Found in src/series/tvmaze.go by golint

    comment on exported method TVmazeToken.SearchFirst should be of the form "SearchFirst ..."
    Open

    // Search will search the TVmaze for a given query string or IMDB ID and return the top matching show.
    Severity: Minor
    Found in src/series/tvmaze.go by golint

    There are no issues that match your filters.

    Category
    Status