Skip to content

Commit b404f71

Browse files
committedDec 1, 2023
ns, protocol, schema: common -> eppcom
1 parent 37bbdf8 commit b404f71

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
 

‎ns/ns.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package ns
22

33
import (
4-
"github.com/domainr/epp2/schema/common"
54
"github.com/domainr/epp2/schema/contact"
65
"github.com/domainr/epp2/schema/domain"
76
"github.com/domainr/epp2/schema/epp"
7+
"github.com/domainr/epp2/schema/eppcom"
88
"github.com/domainr/epp2/schema/host"
99
)
1010

@@ -17,7 +17,7 @@ const (
1717

1818
// Common is the IETF URN for the EPP common namespace.
1919
// See https://www.iana.org/assignments/xml-registry/ns/eppcom-1.0.txt.
20-
Common = common.NS
20+
Common = eppcom.NS
2121

2222
// Host is the IETF URN for the EPP contact namespace.
2323
// See https://www.iana.org/assignments/xml-registry/ns/contact-1.0.txt.

‎protocol/schema.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ package protocol
22

33
import (
44
"github.com/domainr/epp2/schema"
5-
"github.com/domainr/epp2/schema/common"
65
"github.com/domainr/epp2/schema/contact"
76
"github.com/domainr/epp2/schema/domain"
87
"github.com/domainr/epp2/schema/epp"
8+
"github.com/domainr/epp2/schema/eppcom"
99
)
1010

1111
// defaultSchemas is an array (not a slice) so DefaultSchemas can return a copy
1212
// that callers can mutate.
1313
var defaultSchemas = [...]schema.Schema{
1414
epp.Schema,
15-
common.Schema,
15+
eppcom.Schema,
1616
contact.Schema,
1717
domain.Schema,
1818
}

‎schema/common/schema.go ‎schema/eppcom/schema.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package common
1+
package eppcom
22

33
import (
44
"github.com/domainr/epp2/internal/xml"

0 commit comments

Comments
 (0)
Please sign in to comment.