From 7f6eb3d9f38ca079a50578bf9aa695ca39c3bce8 Mon Sep 17 00:00:00 2001 From: Dustin Oprea Date: Sat, 16 May 2020 17:31:02 -0400 Subject: [PATCH] utility.go: Add formatted values to ExifTag --- v2/utility.go | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/v2/utility.go b/v2/utility.go index b8ad540..e985740 100644 --- a/v2/utility.go +++ b/v2/utility.go @@ -83,12 +83,15 @@ type ExifTag struct { Value interface{} `json:"value"` ValueBytes []byte `json:"value_bytes"` + FormattedFirst string `json:"formatted_first"` + Formatted string `json:"formatted"` + ChildIfdPath string `json:"child_ifd_path"` } // String returns a string representation. func (et ExifTag) String() string { - return fmt.Sprintf("ExifTag