refactor: unexport internal identifiers and fix naming nits

This commit is contained in:
Mathis Maquenne
2026-08-05 21:55:59 +02:00
parent c1775e5c04
commit eea049aae9
13 changed files with 34 additions and 34 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ import (
const updateNoticeAnnotation = "godeez:update-notice"
func Execute(ctx context.Context) error {
root := NewRootCmd()
root := newRootCmd()
var notice <-chan string
if wantsUpdateNotice(root) {
@@ -29,7 +29,7 @@ func Execute(ctx context.Context) error {
return err
}
func NewRootCmd() *cobra.Command {
func newRootCmd() *cobra.Command {
root := &cobra.Command{
Use: "godeez",
Short: "GoDeez is a tool to download music from Deezer",