Skip to content

Commit

Permalink
schema: rename package to pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
tbaliance committed Sep 23, 2017
1 parent cfd7487 commit e880adf
Show file tree
Hide file tree
Showing 38 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion common/contenttypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"log"
"strings"

"baliance.com/gooxml/schema/soo/package/content_types"
"baliance.com/gooxml/schema/soo/pkg/content_types"
)

// ContentTypes is the top level "[Content_Types].xml" in a zip package.
Expand Down
2 changes: 1 addition & 1 deletion common/coreproperties.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"time"

"baliance.com/gooxml"
"baliance.com/gooxml/schema/soo/package/metadata/core_properties"
"baliance.com/gooxml/schema/soo/pkg/metadata/core_properties"
)

// CoreProperties contains document specific properties.
Expand Down
2 changes: 1 addition & 1 deletion common/relationship.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package common
import (
"fmt"

"baliance.com/gooxml/schema/soo/package/relationships"
"baliance.com/gooxml/schema/soo/pkg/relationships"
)

// Relationship is a relationship within a .rels file.
Expand Down
2 changes: 1 addition & 1 deletion common/relationships.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strings"

"baliance.com/gooxml"
"baliance.com/gooxml/schema/soo/package/relationships"
"baliance.com/gooxml/schema/soo/pkg/relationships"
)

// Relationships represents a .rels file.
Expand Down
2 changes: 1 addition & 1 deletion document/document.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

dml "baliance.com/gooxml/schema/soo/drawingml"
st "baliance.com/gooxml/schema/soo/officeDocument/sharedTypes"
"baliance.com/gooxml/schema/soo/package/relationships"
"baliance.com/gooxml/schema/soo/pkg/relationships"
"baliance.com/gooxml/schema/soo/wml"
)

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/package/content_types"
"baliance.com/gooxml/schema/soo/pkg/content_types"
)

func TestCT_DefaultConstructor(t *testing.T) {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/package/content_types"
"baliance.com/gooxml/schema/soo/pkg/content_types"
)

func TestCT_OverrideConstructor(t *testing.T) {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/package/content_types"
"baliance.com/gooxml/schema/soo/pkg/content_types"
)

func TestCT_TypesConstructor(t *testing.T) {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/package/content_types"
"baliance.com/gooxml/schema/soo/pkg/content_types"
)

func TestDefaultConstructor(t *testing.T) {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/package/content_types"
"baliance.com/gooxml/schema/soo/pkg/content_types"
)

func TestOverrideConstructor(t *testing.T) {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/package/content_types"
"baliance.com/gooxml/schema/soo/pkg/content_types"
)

func TestTypesConstructor(t *testing.T) {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/package/metadata/core_properties"
"baliance.com/gooxml/schema/soo/pkg/metadata/core_properties"
)

func TestCT_CorePropertiesConstructor(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/package/metadata/core_properties"
"baliance.com/gooxml/schema/soo/pkg/metadata/core_properties"
)

func TestCT_KeywordConstructor(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/package/metadata/core_properties"
"baliance.com/gooxml/schema/soo/pkg/metadata/core_properties"
)

func TestCT_KeywordsConstructor(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/package/metadata/core_properties"
"baliance.com/gooxml/schema/soo/pkg/metadata/core_properties"
)

func TestCorePropertiesConstructor(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/package/relationships"
"baliance.com/gooxml/schema/soo/pkg/relationships"
)

func TestCT_RelationshipConstructor(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/package/relationships"
"baliance.com/gooxml/schema/soo/pkg/relationships"
)

func TestCT_RelationshipsConstructor(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/package/relationships"
"baliance.com/gooxml/schema/soo/pkg/relationships"
)

func TestRelationshipConstructor(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"encoding/xml"
"testing"

"baliance.com/gooxml/schema/soo/package/relationships"
"baliance.com/gooxml/schema/soo/pkg/relationships"
)

func TestRelationshipsConstructor(t *testing.T) {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion spreadsheet/workbook.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
dml "baliance.com/gooxml/schema/soo/drawingml"
crt "baliance.com/gooxml/schema/soo/drawingml/chart"
sd "baliance.com/gooxml/schema/soo/drawingml/spreadsheetDrawing"
"baliance.com/gooxml/schema/soo/package/relationships"
"baliance.com/gooxml/schema/soo/pkg/relationships"
"baliance.com/gooxml/schema/soo/sml"
)

Expand Down
2 changes: 1 addition & 1 deletion zippkg/decodemap.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"archive/zip"
"path/filepath"

"baliance.com/gooxml/schema/soo/package/relationships"
"baliance.com/gooxml/schema/soo/pkg/relationships"
)

// OnNewRelationshipFunc is called when a new relationship has been discovered.
Expand Down

0 comments on commit e880adf

Please sign in to comment.