fix: add error handling for binary.Write and remove unused variable

This commit is contained in:
Grail Finder (aider)
2025-03-10 20:25:21 +03:00
parent 0497cdcfe6
commit de65f1fc82
2 changed files with 24 additions and 9 deletions

View File

@@ -22,7 +22,6 @@ const (
writeHeader = "\x89\x50\x4E\x47\x0D\x0A\x1A\x0A"
)
var tEXtChunkDataSpecification = "%s\x00%s"
type PngEmbed struct {
Key string