🚚 Get rid of internal package

I don't need to hide anything
This commit is contained in:
Dan Jones 2024-10-24 06:33:53 -05:00
commit 5282c1fd26
4 changed files with 6 additions and 6 deletions

View file

@ -18,7 +18,7 @@ tasks:
sources:
- cmd/convids/**/*.go
- convids/**/*.go
- internal/cli/*.go
- cli/err/*go
generates:
- build/convids
cmds:

View file

@ -1,4 +1,4 @@
package cli
package err
import (
"fmt"

View file

@ -4,8 +4,8 @@ import (
"fmt"
"os"
e "codeberg.org/danjones000/utils/cli/err"
"codeberg.org/danjones000/utils/convids"
"codeberg.org/danjones000/utils/internal/cli"
"github.com/spf13/pflag"
)
@ -26,11 +26,11 @@ func main() {
}
data, err := convids.NewData(dataPath)
cli.HandleErr(err)
e.HandleErr(err)
convids.WalkFiles(data, false, false, func(s *convids.Show, path string) error {
fmt.Printf("%s for %+v\n", path, s)
return nil
})
fmt.Println("\nDone!")
fmt.Println("Done!")
}

View file

@ -71,7 +71,7 @@ func (d *Data) AllShows(silent bool) iter.Seq[*Show] {
continue
}
if !silent {
fmt.Println("\nChecking", show, "shows\n")
fmt.Println("Checking", show, "shows\n")
}
for s := range sh.All() {
if s == nil {