- Add internal/labels package with LabelData struct and RenderStandard() - QR encodes http://mac-mini.mg:8080/hw/HW-XXXXX (LBL-01) - Label is 384x120px NRGBA, white background, basicfont text - T-04-07 mitigation: validate HWID format before qrcode.New() - Install github.com/skip2/go-qrcode and golang.org/x/image - All 5 renderer tests pass
34 lines
1.2 KiB
Modula-2
34 lines
1.2 KiB
Modula-2
module git.georgsen.dk/hwlab
|
|
|
|
go 1.25.0
|
|
|
|
require (
|
|
github.com/go-chi/chi/v5 v5.2.5
|
|
github.com/google/uuid v1.6.0
|
|
github.com/joho/godotenv v1.5.1
|
|
github.com/netbox-community/go-netbox/v4 v4.3.0
|
|
github.com/redis/go-redis/v9 v9.18.0
|
|
github.com/sashabaranov/go-openai v1.41.2
|
|
github.com/spf13/viper v1.21.0
|
|
)
|
|
|
|
require (
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
|
|
github.com/fsnotify/fsnotify v1.9.0 // indirect
|
|
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
|
|
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
|
|
github.com/sagikazarmark/locafero v0.11.0 // indirect
|
|
github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e // indirect
|
|
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
|
|
github.com/spf13/afero v1.15.0 // indirect
|
|
github.com/spf13/cast v1.10.0 // indirect
|
|
github.com/spf13/pflag v1.0.10 // indirect
|
|
github.com/subosito/gotenv v1.6.0 // indirect
|
|
go.uber.org/atomic v1.11.0 // indirect
|
|
go.yaml.in/yaml/v3 v3.0.4 // indirect
|
|
golang.org/x/image v0.39.0 // indirect
|
|
golang.org/x/sys v0.29.0 // indirect
|
|
golang.org/x/text v0.36.0 // indirect
|
|
gopkg.in/validator.v2 v2.0.1 // indirect
|
|
)
|