From f4fa3055f30d849022737f2c8dcb18c9ade4dbc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?O=CC=81scar=20M=2E=20Lage?= Date: Fri, 11 Oct 2024 20:20:01 +0200 Subject: [PATCH] Minor aeshtetic changes --- internal/books/controller.go | 1 + internal/games/controller.go | 1 + internal/movies/controller.go | 1 + internal/music/controller.go | 2 ++ internal/series/controller.go | 1 + main.go | 1 + 6 files changed, 7 insertions(+) diff --git a/internal/books/controller.go b/internal/books/controller.go index 8c3f109..1249016 100644 --- a/internal/books/controller.go +++ b/internal/books/controller.go @@ -26,6 +26,7 @@ func LoadBooks() ([]Book, error) { } func ProcessBooks(books []Book) error { + fmt.Printf(" B O O K S\n") utils.Sep() for _, book := range books { fmt.Printf("Title: %s, Author: %s, ID: %s\n", book.Title, book.Author, book.ID) diff --git a/internal/games/controller.go b/internal/games/controller.go index c387aac..445b49d 100644 --- a/internal/games/controller.go +++ b/internal/games/controller.go @@ -26,6 +26,7 @@ func LoadGames() ([]Game, error) { } func ProcessGames(games []Game) error { + fmt.Printf(" G A M E S\n") utils.Sep() for _, game := range games { fmt.Printf("Title: %s\n", game.Title) diff --git a/internal/movies/controller.go b/internal/movies/controller.go index c7efc80..3cbdae6 100644 --- a/internal/movies/controller.go +++ b/internal/movies/controller.go @@ -26,6 +26,7 @@ func LoadMovies() ([]Movie, error) { } func ProcessMovies(movies []Movie) error { + fmt.Printf(" M O V I E S\n") utils.Sep() for _, movie := range movies { // Debug print diff --git a/internal/music/controller.go b/internal/music/controller.go index 4913979..adbde1e 100644 --- a/internal/music/controller.go +++ b/internal/music/controller.go @@ -26,6 +26,8 @@ func LoadAlbums() ([]Album, error) { } func ProcessAlbum(albumList []Album) error { + fmt.Printf(" M U S I C\n") + utils.Sep() for _, album := range albumList { fmt.Printf("Title: %s\n", album.Title) diff --git a/internal/series/controller.go b/internal/series/controller.go index 311aa26..7b8576d 100644 --- a/internal/series/controller.go +++ b/internal/series/controller.go @@ -26,6 +26,7 @@ func LoadSeries() ([]Serie, error) { } func ProcessSeries(series []Serie) error { + fmt.Printf(" S E R I E S\n") utils.Sep() for _, serie := range series { // Debug print diff --git a/main.go b/main.go index 493b51b..8faa6e5 100644 --- a/main.go +++ b/main.go @@ -14,6 +14,7 @@ import ( func main() { // Load .env file utils.LoadConfig() + utils.Sep() // --media parameter media := flag.String("media", "", "Specify the media type to process: movies, series, books, games, or music")