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:
@@ -1,7 +1,7 @@
|
||||
goexif
|
||||
======
|
||||
|
||||
[](https://godoc.org/github.com/rwcarlsen/goexif)
|
||||
[](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() {
|
||||
|
||||
@@ -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
@@ -16,7 +16,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/seaweedfs/goexif/tiff"
|
||||
"github.com/hanzoai/goexif/tiff"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
+1
-1
@@ -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")
|
||||
|
||||
@@ -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
@@ -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")
|
||||
|
||||
+1
-1
@@ -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
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user