move to codeberg (#45)

This commit is contained in:
T. von Dein
2025-11-03 22:06:11 +01:00
parent bc717baa3f
commit bd5ee90324
31 changed files with 239 additions and 189 deletions

View File

@@ -26,11 +26,11 @@ import (
"strconv"
"strings"
"codeberg.org/scip/tablizer/cfg"
"github.com/gookit/color"
"github.com/olekukonko/tablewriter"
"github.com/olekukonko/tablewriter/renderer"
"github.com/olekukonko/tablewriter/tw"
"github.com/tlinden/tablizer/cfg"
"gopkg.in/yaml.v3"
)
@@ -72,7 +72,10 @@ func printData(writer io.Writer, conf cfg.Config, data *Tabdata) {
}
func output(writer io.Writer, str string) {
fmt.Fprint(writer, str)
_, err := fmt.Fprint(writer, str)
if err != nil {
log.Fatalf("failed to print output: %s", err)
}
}
/*