Skip to content

Commit

Permalink
update println
Browse files Browse the repository at this point in the history
  • Loading branch information
laureanray committed Jun 29, 2023
1 parent f0ff2c9 commit 9e9327b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/mirror/current_mirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (m *CurrentMirror) SearchByTitle(query string) ([]book.Book, error) {
}

func (m *CurrentMirror) SearchByAuthor(query string) ([]book.Book, error) {
fmt.Println("Searching for: ", console.Higlight(query))
fmt.Println("Searching by author: ", console.Higlight(query))
var document *goquery.Document

m.filter = libgen.AUTHOR
Expand Down
2 changes: 1 addition & 1 deletion internal/mirror/legacy_mirror.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (m *LegacyMirror) SearchByTitle(query string) ([]book.Book, error) {
}

func (m *LegacyMirror) SearchByAuthor(query string) ([]book.Book, error) {
fmt.Println("Searching by author: %s", console.Higlight(query))
fmt.Println("Searching by author: ", console.Higlight(query))

m.filter = libgen.AUTHOR
document, err := m.searchSite(query)
Expand Down

0 comments on commit 9e9327b

Please sign in to comment.