Updating godep to minio-io/godep

master
Frederick F. Kautz IV 10 years ago
parent 8757ccf9a3
commit a689769245
  1. 2
      Godeps/Godeps.json
  2. 1
      Godeps/_workspace/src/github.com/clbanning/mxj/anyxml.go
  3. 1
      Godeps/_workspace/src/github.com/clbanning/mxj/data_test.go
  4. 4
      Godeps/_workspace/src/github.com/clbanning/mxj/example_test.go
  5. 2
      Godeps/_workspace/src/github.com/clbanning/mxj/examples/books.go
  6. 2
      Godeps/_workspace/src/github.com/clbanning/mxj/examples/getmetrics1.go
  7. 2
      Godeps/_workspace/src/github.com/clbanning/mxj/examples/getmetrics2.go
  8. 2
      Godeps/_workspace/src/github.com/clbanning/mxj/examples/getmetrics3.go
  9. 2
      Godeps/_workspace/src/github.com/clbanning/mxj/examples/getmetrics4.go
  10. 2
      Godeps/_workspace/src/github.com/clbanning/mxj/examples/gonuts1.go
  11. 1
      Godeps/_workspace/src/github.com/clbanning/mxj/examples/gonuts6.go
  12. 2
      Godeps/_workspace/src/github.com/clbanning/mxj/files.go
  13. 1
      Godeps/_workspace/src/github.com/clbanning/mxj/j2x/j2x.go
  14. 2
      Godeps/_workspace/src/github.com/clbanning/mxj/j2x/j2x_test.go
  15. 1
      Godeps/_workspace/src/github.com/clbanning/mxj/j2x_test.go
  16. 1
      Godeps/_workspace/src/github.com/clbanning/mxj/leafnode_test.go
  17. 2
      Godeps/_workspace/src/github.com/clbanning/mxj/newmap_test.go
  18. 1
      Godeps/_workspace/src/github.com/clbanning/mxj/struct_test.go
  19. 3
      Godeps/_workspace/src/github.com/clbanning/mxj/updatevalues_test.go
  20. 2
      Makefile

2
Godeps/Godeps.json generated vendored

@ -1,6 +1,6 @@
{
"ImportPath": "github.com/minio-io/minio",
"GoVersion": "go1.4",
"GoVersion": "go1.4.2",
"Packages": [
"./..."
],

@ -110,7 +110,6 @@ func AnyXml(v interface{}, tags ...string) ([]byte, error) {
return b, err
}
// Encode an arbitrary value as a pretty XML string.
// Alternative values for DefaultRootTag and DefaultElementTag can be set as:
// AnyXmlIndent( v, "", " ", myRootTag, myElementTag).

@ -36,4 +36,3 @@ var jsondata = []byte(`
{"book":{"author":"John Hawkes","review":"A lyrical novel about the construction of Ft. Peck Dam in Montana.","title":"The Beetle Leg"}}
{"book":{"author":{"first_name":"T.E.","last_name":"Porter"},"review":"A magical novella.","title":"King's Day"}}
{ "here":"we", "put":"in", "an":error }`)

@ -8,8 +8,8 @@ package mxj_test
import (
"bytes"
"fmt"
"io"
"github.com/clbanning/mxj"
"io"
)
func ExampleHandleXmlReader() {
@ -318,7 +318,6 @@ func ExampleMap_Copy() {
m["struct_ptr"] = interface{}(&s)
m["misc"] = interface{}(`Now is the time`)
mv := mxj.Map(m)
cp, _ := mv.Copy()
@ -343,4 +342,3 @@ func ExampleMap_Copy() {
// float :[float64] 3.14e+00
// bool :[bool] true
}

@ -4,8 +4,8 @@ package main
import (
"fmt"
"log"
"github.com/clbanning/mxj"
"log"
)
var xmldata = []byte(`

@ -38,10 +38,10 @@ package main
import (
"flag"
"fmt"
"github.com/clbanning/mxj"
"log"
"os"
"time"
"github.com/clbanning/mxj"
)
func main() {

@ -39,10 +39,10 @@ package main
import (
"flag"
"fmt"
"github.com/clbanning/mxj"
"log"
"os"
"time"
"github.com/clbanning/mxj"
)
func main() {

@ -40,10 +40,10 @@ package main
import (
"flag"
"fmt"
"github.com/clbanning/mxj"
"log"
"os"
"time"
"github.com/clbanning/mxj"
)
func main() {

@ -41,10 +41,10 @@ import (
"bytes"
"flag"
"fmt"
"github.com/clbanning/mxj"
"log"
"os"
"time"
"github.com/clbanning/mxj"
)
func main() {

@ -6,8 +6,8 @@ package main
import (
"bytes"
"fmt"
"io"
"github.com/clbanning/mxj"
"io"
)
// Demo how to compensate for irregular tag labels in data.

@ -41,4 +41,3 @@ func main() {
}
var s = []byte(`{ "DBInstances": [ { "PubliclyAccessible": true, "MasterUsername": "postgres", "LicenseModel": "postgresql-license", "VpcSecurityGroups": [ { "Status": "active", "VpcSecurityGroupId": "sg-e72a4282" } ], "InstanceCreateTime": "2014-06-29T03:52:59.268Z", "OptionGroupMemberships": [ { "Status": "in-sync", "OptionGroupName": "default:postgres-9-3" } ], "PendingModifiedValues": {}, "Engine": "postgres", "MultiAZ": true, "LatestRestorableTime": "2014-06-29T12:00:34Z", "DBSecurityGroups": [ { "Status": "active", "DBSecurityGroupName": "production-dbsecuritygroup-q4f0ugxpjck8" } ], "DBParameterGroups": [ { "DBParameterGroupName": "default.postgres9.3", "ParameterApplyStatus": "in-sync" } ], "AutoMinorVersionUpgrade": true, "PreferredBackupWindow": "06:59-07:29", "DBSubnetGroup": { "Subnets": [ { "SubnetStatus": "Active", "SubnetIdentifier": "subnet-34e5d01c", "SubnetAvailabilityZone": { "Name": "us-east-1b", "ProvisionedIopsCapable": false } }, { "SubnetStatus": "Active", "SubnetIdentifier": "subnet-50759d27", "SubnetAvailabilityZone": { "Name": "us-east-1c", "ProvisionedIopsCapable": false } }, { "SubnetStatus": "Active", "SubnetIdentifier": "subnet-450a1f03", "SubnetAvailabilityZone": { "Name": "us-east-1d", "ProvisionedIopsCapable": false } } ], "DBSubnetGroupName": "default", "VpcId": "vpc-acb86cc9", "DBSubnetGroupDescription": "default", "SubnetGroupStatus": "Complete" }, "SecondaryAvailabilityZone": "us-east-1b", "ReadReplicaDBInstanceIdentifiers": [], "AllocatedStorage": 15, "BackupRetentionPeriod": 1, "DBName": "deis", "PreferredMaintenanceWindow": "fri:05:52-fri:06:22", "Endpoint": { "Port": 5432, "Address": "production.cfk8mskkbkeu.us-east-1.rds.amazonaws.com" }, "DBInstanceStatus": "available", "EngineVersion": "9.3.3", "AvailabilityZone": "us-east-1c", "DBInstanceClass": "db.m1.small", "DBInstanceIdentifier": "production" } ] }`)

@ -130,7 +130,6 @@ func NewMapsFromXmlFileRaw(name string) ([]MapRaw, error) {
XmlWriterBufSize = x
}()
fi, err := os.Stat(name)
if err != nil {
return nil, err
@ -298,4 +297,3 @@ func (mvs Maps) XmlFileIndent(file, prefix, indent string) error {
fh.WriteString(s)
return nil
}

@ -6,7 +6,6 @@
// Wrappers for end-to-end JSON to XML transformation and value manipulation.
package j2x
import (
. "github.com/clbanning/mxj"
"io"

@ -4,8 +4,8 @@ package j2x
import (
"bytes"
"io/ioutil"
"fmt"
"io/ioutil"
"testing"
)

@ -27,4 +27,3 @@ func TestJ2X(t *testing.T) {
fmt.Println("j2x, m :", m)
fmt.Println("j2x, xml :", string(x))
}

@ -72,7 +72,6 @@ func TestLeafNodes(t *testing.T) {
fmt.Printf("%#v\n", v)
}
xmldata2 := []byte(`
<doc>
<item num="2" color="blue">Item 2 is blue</item>

@ -1,9 +1,9 @@
package mxj
import (
"io"
"bytes"
"fmt"
"io"
"testing"
)

@ -82,4 +82,3 @@ func TestStructError(t *testing.T) {
}
fmt.Println("StructError, mverr:", mverr.Error())
}

@ -11,7 +11,6 @@ func TestUVHeader(t *testing.T) {
fmt.Println("\n---------------- updatevalues_test.go ...\n")
}
func TestUpdateValuesForPath_Author(t *testing.T) {
m, merr := NewMapXml(doc1)
if merr != nil {
@ -186,5 +185,3 @@ func TestAuthorDoc(t *testing.T) {
fmt.Println(counter, "updates")
fmt.Println(m.StringIndent())
}

@ -11,7 +11,7 @@ checkgopath:
@if [ ! -d ${MINIOPATH} ]; then echo "Project not found in $GOPATH, please follow instructions provided at https://github.com/Minio-io/minio/blob/master/CONTRIBUTING.md#setup-your-minio-github-repository" && exit 1; fi
getdeps: checkdeps checkgopath
@go get github.com/tools/godep && echo "Installed godep:"
@go get github.com/minio-io/godep && echo "Installed godep:"
@go get github.com/golang/lint/golint && echo "Installed golint:"
@go get golang.org/x/tools/cmd/vet && echo "Installed vet:"
@go get github.com/fzipp/gocyclo && echo "Installed gocyclo:"

Loading…
Cancel
Save