use dep as denpendency managment tool
This commit is contained in:
5
vendor/golang.org/x/text/unicode/cldr/base.go
generated
vendored
5
vendor/golang.org/x/text/unicode/cldr/base.go
generated
vendored
@@ -62,6 +62,11 @@ func (e *Common) Default() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
// Element returns the XML element name.
|
||||
func (e *Common) Element() string {
|
||||
return e.name
|
||||
}
|
||||
|
||||
// GetCommon returns e. It is provided such that Common implements Elem.
|
||||
func (e *Common) GetCommon() *Common {
|
||||
return e
|
||||
|
||||
2
vendor/golang.org/x/text/unicode/cldr/decode.go
generated
vendored
2
vendor/golang.org/x/text/unicode/cldr/decode.go
generated
vendored
@@ -47,7 +47,7 @@ type Loader interface {
|
||||
Reader(i int) (io.ReadCloser, error)
|
||||
}
|
||||
|
||||
var fileRe = regexp.MustCompile(".*/(.*)/(.*)\\.xml")
|
||||
var fileRe = regexp.MustCompile(`.*[/\\](.*)[/\\](.*)\.xml`)
|
||||
|
||||
// Decode loads and decodes the files represented by l.
|
||||
func (d *Decoder) Decode(l Loader) (cldr *CLDR, err error) {
|
||||
|
||||
9
vendor/golang.org/x/text/unicode/cldr/xml.go
generated
vendored
9
vendor/golang.org/x/text/unicode/cldr/xml.go
generated
vendored
@@ -636,6 +636,13 @@ type SupplementalData struct {
|
||||
Path string `xml:"path,attr"`
|
||||
} `xml:"rgPath"`
|
||||
} `xml:"rgScope"`
|
||||
LanguageGroups *struct {
|
||||
Common
|
||||
LanguageGroup []*struct {
|
||||
Common
|
||||
Parent string `xml:"parent,attr"`
|
||||
} `xml:"languageGroup"`
|
||||
} `xml:"languageGroups"`
|
||||
}
|
||||
|
||||
// LDML is the top-level type for locale-specific data.
|
||||
@@ -1484,4 +1491,4 @@ type Numbers struct {
|
||||
}
|
||||
|
||||
// Version is the version of CLDR from which the XML definitions are generated.
|
||||
const Version = "31"
|
||||
const Version = "32"
|
||||
|
||||
Reference in New Issue
Block a user