rebrand: rename module github.com/seaweedfs/goexif -> github.com/hanzoai/goexif

- create go.mod (deleted upstream at v1.0.3) with module github.com/hanzoai/goexif, go 1.21
- rewrite all internal self-imports (exif/tiff/mknote/exifstat/tests/regen) to hanzoai path
- update README import-path/install references
- pure stdlib, zero external deps; go build/vet/test all pass
This commit is contained in:
Hanzo AI
2026-06-26 13:01:39 -07:00
parent ac7b45a439
commit 67eda824aa
9 changed files with 20 additions and 17 deletions
+5 -5
View File
@@ -1,7 +1,7 @@
goexif
======
[![GoDoc](https://godoc.org/github.com/rwcarlsen/goexif?status.svg)](https://godoc.org/github.com/rwcarlsen/goexif)
[![GoDoc](https://godoc.org/github.com/hanzoai/goexif?status.svg)](https://godoc.org/github.com/hanzoai/goexif)
Provides decoding of basic exif and tiff encoded data. Still in alpha - no guarantees.
Suggestions and pull requests are welcome. Functionality is split into two packages - "exif" and "tiff"
@@ -12,13 +12,13 @@ Like goexif? - Bitcoin Cash tips welcome: 1DrU5V37nTXuv4vnRLVpahJEjhdATNgoBh
To install, in a terminal type:
```
go get github.com/rwcarlsen/goexif/exif
go get github.com/hanzoai/goexif/exif
```
Or if you just want the tiff package:
```
go get github.com/rwcarlsen/goexif/tiff
go get github.com/hanzoai/goexif/tiff
```
Example usage:
@@ -31,8 +31,8 @@ import (
"log"
"os"
"github.com/seaweedfs/goexif/exif"
"github.com/seaweedfs/goexif/mknote"
"github.com/hanzoai/goexif/exif"
"github.com/hanzoai/goexif/mknote"
)
func ExampleDecode() {
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"log"
"os"
"github.com/seaweedfs/goexif/exif"
"github.com/seaweedfs/goexif/mknote"
"github.com/hanzoai/goexif/exif"
"github.com/hanzoai/goexif/mknote"
)
func ExampleDecode() {
+1 -1
View File
@@ -16,7 +16,7 @@ import (
"strings"
"time"
"github.com/seaweedfs/goexif/tiff"
"github.com/hanzoai/goexif/tiff"
)
const (
+1 -1
View File
@@ -14,7 +14,7 @@ import (
"strings"
"testing"
"github.com/seaweedfs/goexif/tiff"
"github.com/hanzoai/goexif/tiff"
)
var dataDir = flag.String("test_data_dir", ".", "Directory where the data files for testing are located")
+2 -2
View File
@@ -12,8 +12,8 @@ import (
"sort"
"strings"
"github.com/seaweedfs/goexif/exif"
"github.com/seaweedfs/goexif/tiff"
"github.com/hanzoai/goexif/exif"
"github.com/hanzoai/goexif/tiff"
)
func main() {
+3 -3
View File
@@ -6,9 +6,9 @@ import (
"log"
"os"
"github.com/seaweedfs/goexif/exif"
"github.com/seaweedfs/goexif/mknote"
"github.com/seaweedfs/goexif/tiff"
"github.com/hanzoai/goexif/exif"
"github.com/hanzoai/goexif/mknote"
"github.com/hanzoai/goexif/tiff"
)
var mnote = flag.Bool("mknote", false, "try to parse makernote data")
+3
View File
@@ -0,0 +1,3 @@
module github.com/hanzoai/goexif
go 1.21
+1 -1
View File
@@ -1,6 +1,6 @@
package mknote
import "github.com/seaweedfs/goexif/exif"
import "github.com/hanzoai/goexif/exif"
// Useful resources used in creating these tables:
// http://www.exiv2.org/makernote.html
+2 -2
View File
@@ -4,8 +4,8 @@ package mknote
import (
"bytes"
"github.com/seaweedfs/goexif/exif"
"github.com/seaweedfs/goexif/tiff"
"github.com/hanzoai/goexif/exif"
"github.com/hanzoai/goexif/tiff"
)
var (