v3: Fix import naming glitch

This commit is contained in:
Dustin Oprea 2020-07-16 21:33:45 -04:00
parent 0758712be3
commit f93c06e0d6
48 changed files with 54 additions and 53 deletions

View File

@ -23,8 +23,8 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/jessevdk/go-flags" "github.com/jessevdk/go-flags"
"github.com/dsoprea/go-exif/v2" "github.com/dsoprea/go-exif/v3"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
const ( const (

View File

@ -13,7 +13,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestMain(t *testing.T) { func TestMain(t *testing.T) {

View File

@ -13,7 +13,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
const ( const (

View File

@ -13,7 +13,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestVisit(t *testing.T) { func TestVisit(t *testing.T) {

View File

@ -1,4 +1,4 @@
module github.com/dsoprea/go-exif/v2 module github.com/dsoprea/go-exif/v3
go 1.13 go 1.13

View File

@ -1,4 +1,5 @@
github.com/dsoprea/go-exif/v2 v2.0.0-20200321225314-640175a69fe4/go.mod h1:Lm2lMM2zx8p4a34ZemkaUV95AnMl4ZvLbCUbwOvLC2E= github.com/dsoprea/go-exif/v2 v2.0.0-20200321225314-640175a69fe4/go.mod h1:Lm2lMM2zx8p4a34ZemkaUV95AnMl4ZvLbCUbwOvLC2E=
github.com/dsoprea/go-exif/v3 v2.0.0-20200321225314-640175a69fe4/go.mod h1:Lm2lMM2zx8p4a34ZemkaUV95AnMl4ZvLbCUbwOvLC2E=
github.com/dsoprea/go-logging v0.0.0-20190624164917-c4f10aab7696 h1:VGFnZAcLwPpt1sHlAxml+pGLZz9A2s+K/s1YNhPC91Y= github.com/dsoprea/go-logging v0.0.0-20190624164917-c4f10aab7696 h1:VGFnZAcLwPpt1sHlAxml+pGLZz9A2s+K/s1YNhPC91Y=
github.com/dsoprea/go-logging v0.0.0-20190624164917-c4f10aab7696/go.mod h1:Nm/x2ZUNRW6Fe5C3LxdY1PyZY5wmDv/s5dkPJ/VB3iA= github.com/dsoprea/go-logging v0.0.0-20190624164917-c4f10aab7696/go.mod h1:Nm/x2ZUNRW6Fe5C3LxdY1PyZY5wmDv/s5dkPJ/VB3iA=
github.com/dsoprea/go-logging v0.0.0-20200502191043-ec333ec7635f h1:XM9MVftaUNA4CcjV97+4bSy7u9Ns04DEYbZkswUrRtc= github.com/dsoprea/go-logging v0.0.0-20200502191043-ec333ec7635f h1:XM9MVftaUNA4CcjV97+4bSy7u9Ns04DEYbZkswUrRtc=

View File

@ -8,7 +8,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/golang/geo/s2" "github.com/golang/geo/s2"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
var ( var (

View File

@ -7,7 +7,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestNewGpsDegreesFromRationals(t *testing.T) { func TestNewGpsDegreesFromRationals(t *testing.T) {

View File

@ -14,8 +14,8 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
"github.com/dsoprea/go-exif/v2/undefined" "github.com/dsoprea/go-exif/v3/undefined"
) )
var ( var (

View File

@ -9,7 +9,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
const ( const (

View File

@ -8,7 +8,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func Test_ByteWriter_writeAsBytes_uint8(t *testing.T) { func Test_ByteWriter_writeAsBytes_uint8(t *testing.T) {

View File

@ -9,8 +9,8 @@ import (
"testing" "testing"
"time" "time"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
"github.com/dsoprea/go-exif/v2/undefined" "github.com/dsoprea/go-exif/v3/undefined"
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
) )

View File

@ -13,8 +13,8 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
"github.com/dsoprea/go-exif/v2/undefined" "github.com/dsoprea/go-exif/v3/undefined"
) )
var ( var (

View File

@ -11,7 +11,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestIfdTagEntry_RawBytes_RealData(t *testing.T) { func TestIfdTagEntry_RawBytes_RealData(t *testing.T) {

View File

@ -8,8 +8,8 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
"github.com/dsoprea/go-exif/v2/undefined" "github.com/dsoprea/go-exif/v3/undefined"
) )
var ( var (

View File

@ -7,7 +7,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-utility/filesystem" "github.com/dsoprea/go-utility/filesystem"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestIfdTagEntry_RawBytes_Allocated(t *testing.T) { func TestIfdTagEntry_RawBytes_Allocated(t *testing.T) {

View File

@ -6,7 +6,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"gopkg.in/yaml.v2" "gopkg.in/yaml.v2"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
const ( const (

View File

@ -7,7 +7,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestIndexedTag_String(t *testing.T) { func TestIndexedTag_String(t *testing.T) {

View File

@ -9,7 +9,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
var ( var (

View File

@ -5,7 +5,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
// Encode encodes the given encodeable undefined value to bytes. // Encode encodes the given encodeable undefined value to bytes.

View File

@ -8,7 +8,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
type Tag8828Oecf struct { type Tag8828Oecf struct {

View File

@ -8,7 +8,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-utility/filesystem" "github.com/dsoprea/go-utility/filesystem"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestTag8828Oecf_String(t *testing.T) { func TestTag8828Oecf_String(t *testing.T) {

View File

@ -5,7 +5,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
type Tag9000ExifVersion struct { type Tag9000ExifVersion struct {

View File

@ -7,7 +7,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestTag9000ExifVersion_String(t *testing.T) { func TestTag9000ExifVersion_String(t *testing.T) {

View File

@ -8,7 +8,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
const ( const (

View File

@ -7,7 +7,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestTagExif9101ComponentsConfiguration_String(t *testing.T) { func TestTagExif9101ComponentsConfiguration_String(t *testing.T) {

View File

@ -9,7 +9,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
type Tag927CMakerNote struct { type Tag927CMakerNote struct {

View File

@ -8,7 +8,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-utility/filesystem" "github.com/dsoprea/go-utility/filesystem"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestTag927CMakerNote_String(t *testing.T) { func TestTag927CMakerNote_String(t *testing.T) {

View File

@ -8,7 +8,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
var ( var (

View File

@ -8,7 +8,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-utility/filesystem" "github.com/dsoprea/go-utility/filesystem"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestTag9286UserComment_String(t *testing.T) { func TestTag9286UserComment_String(t *testing.T) {

View File

@ -5,7 +5,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
type TagA000FlashpixVersion struct { type TagA000FlashpixVersion struct {

View File

@ -8,7 +8,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-utility/filesystem" "github.com/dsoprea/go-utility/filesystem"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestTagA000FlashpixVersion_String(t *testing.T) { func TestTagA000FlashpixVersion_String(t *testing.T) {

View File

@ -8,7 +8,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
type TagA20CSpatialFrequencyResponse struct { type TagA20CSpatialFrequencyResponse struct {

View File

@ -8,7 +8,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-utility/filesystem" "github.com/dsoprea/go-utility/filesystem"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestTagA20CSpatialFrequencyResponse_String(t *testing.T) { func TestTagA20CSpatialFrequencyResponse_String(t *testing.T) {

View File

@ -7,7 +7,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
type TagExifA300FileSource uint32 type TagExifA300FileSource uint32

View File

@ -7,7 +7,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestTagExifA300FileSource_String(t *testing.T) { func TestTagExifA300FileSource_String(t *testing.T) {

View File

@ -7,7 +7,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
type TagExifA301SceneType uint32 type TagExifA301SceneType uint32

View File

@ -7,7 +7,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestTagExifA301SceneType_String(t *testing.T) { func TestTagExifA301SceneType_String(t *testing.T) {

View File

@ -8,7 +8,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
type TagA302CfaPattern struct { type TagA302CfaPattern struct {

View File

@ -8,7 +8,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-utility/filesystem" "github.com/dsoprea/go-utility/filesystem"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestTagA302CfaPattern_String(t *testing.T) { func TestTagA302CfaPattern_String(t *testing.T) {

View File

@ -5,7 +5,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
type Tag0002InteropVersion struct { type Tag0002InteropVersion struct {

View File

@ -7,7 +7,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestTag0002InteropVersion_String(t *testing.T) { func TestTag0002InteropVersion_String(t *testing.T) {

View File

@ -5,7 +5,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
type Tag001BGPSProcessingMethod struct { type Tag001BGPSProcessingMethod struct {

View File

@ -7,7 +7,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestTag001BGPSProcessingMethod_String(t *testing.T) { func TestTag001BGPSProcessingMethod_String(t *testing.T) {

View File

@ -5,7 +5,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
type Tag001CGPSAreaInformation struct { type Tag001CGPSAreaInformation struct {

View File

@ -7,7 +7,7 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
func TestTag001CGPSAreaInformation_String(t *testing.T) { func TestTag001CGPSAreaInformation_String(t *testing.T) {

View File

@ -5,7 +5,7 @@ import (
"encoding/binary" "encoding/binary"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
) )
const ( const (

View File

@ -6,8 +6,8 @@ import (
"github.com/dsoprea/go-logging" "github.com/dsoprea/go-logging"
"github.com/dsoprea/go-exif/v2/common" "github.com/dsoprea/go-exif/v3/common"
"github.com/dsoprea/go-exif/v2/undefined" "github.com/dsoprea/go-exif/v3/undefined"
) )
var ( var (