Added stdin, refactored a lot

This commit is contained in:
2025-06-20 19:09:47 -03:00
parent 0baf4b85cb
commit 452c70401e
3 changed files with 74 additions and 66 deletions

8
go.mod
View File

@@ -2,11 +2,13 @@ module catprinter-ble
go 1.22
require github.com/go-ble/ble v0.0.0-20240122180141-8c5522f54333
require (
github.com/disintegration/imaging v1.6.2
github.com/go-ble/ble v0.0.0-20240122180141-8c5522f54333
github.com/makeworld-the-better-one/dither v1.0.0
)
require (
github.com/disintegration/imaging v1.6.2 // indirect
github.com/makeworld-the-better-one/dither v1.0.0 // indirect
github.com/mattn/go-colorable v0.1.6 // indirect
github.com/mattn/go-isatty v0.0.12 // indirect
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect