Skip to content

Commit

Permalink
Added go module
Browse files Browse the repository at this point in the history
  • Loading branch information
pavius committed Mar 3, 2019
1 parent be9e923 commit cb9d194
Show file tree
Hide file tree
Showing 6 changed files with 65 additions and 115 deletions.
111 changes: 0 additions & 111 deletions cmd/v3io/client_test.go

This file was deleted.

17 changes: 17 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module github.com/v3io/v3io-go

go 1.12

require (
github.com/mattn/go-colorable v0.1.1 // indirect
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b // indirect
github.com/nuclio/logger v0.0.0-20190303161055-fc1e4b16d127
github.com/nuclio/zap v0.0.0-20190303161231-1ec7b2ab8470
github.com/pavius/zap v1.4.2-0.20180228181622-8d52692529b8 // indirect
github.com/pkg/errors v0.8.1 // indirect
github.com/stretchr/testify v1.3.0
github.com/valyala/fasthttp v1.2.0
go.uber.org/atomic v1.3.2 // indirect
go.uber.org/multierr v1.1.0 // indirect
go.uber.org/zap v1.9.1 // indirect
)
42 changes: 42 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/klauspost/compress v1.4.0 h1:8nsMz3tWa9SWWPL60G1V6CUsf4lLjWLTNEtibhe8gh8=
github.com/klauspost/compress v1.4.0/go.mod h1:RyIbtBH6LamlWaDj8nUwkbUhJ87Yi3uG0guNDohfE1A=
github.com/klauspost/cpuid v0.0.0-20180405133222-e7e905edc00e h1:+lIPJOWl+jSiJOc70QXJ07+2eg2Jy2EC7Mi11BWujeM=
github.com/klauspost/cpuid v0.0.0-20180405133222-e7e905edc00e/go.mod h1:Pj4uuM528wm8OyEC2QMXAi2YiTZ96dNQPGgoMS4s3ek=
github.com/mattn/go-colorable v0.1.1 h1:G1f5SKeVxmagw/IyvzvtZE4Gybcc4Tr1tf7I8z0XgOg=
github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ=
github.com/mattn/go-isatty v0.0.5 h1:tHXDdz1cpzGaovsTB+TVB8q90WEokoVmfMqoVcrLUgw=
github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b h1:j7+1HpAFS1zy5+Q4qx1fWh90gTKwiN4QCGoY9TWyyO4=
github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b/go.mod h1:01TrycV0kFyexm33Z7vhZRXopbI8J3TDReVlkTgMUxE=
github.com/nuclio/logger v0.0.0-20190303161055-fc1e4b16d127 h1:Xbb9RIEkixjjPNQew893d6GEX12gldJK9EurcPeMURk=
github.com/nuclio/logger v0.0.0-20190303161055-fc1e4b16d127/go.mod h1:ttazNAqTxKjQ7XrGDZxecumGa9KCIuJh88gzFY1mRXo=
github.com/nuclio/zap v0.0.0-20190303161231-1ec7b2ab8470 h1:ZJOZjxq1GnSgGTke/xPTKEJtndOPb2gc/hI2gooVo7U=
github.com/nuclio/zap v0.0.0-20190303161231-1ec7b2ab8470/go.mod h1:SUxPsgePvlyjx6c5MtGdB50pf0IQThtlyLwISLboeuc=
github.com/pavius/zap v1.4.1 h1:RH76G+9GZhLX13qFUnM8mY4sTlQV6mwB72sv+k5dgmI=
github.com/pavius/zap v1.4.1/go.mod h1:6FWOCx06uh50GClv8S2cfk3asqTJs3qq3ZNRtLZE77I=
github.com/pavius/zap v1.4.2-0.20180228181622-8d52692529b8 h1:WqLgmr/wj9TO5Sc6oYPQRAJBxuHE0NTeuVeFnT+FZVo=
github.com/pavius/zap v1.4.2-0.20180228181622-8d52692529b8/go.mod h1:6FWOCx06uh50GClv8S2cfk3asqTJs3qq3ZNRtLZE77I=
github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/v3io/v3io-go v0.0.0-20190303154334-be9e9235107c h1:OktqKo7ArrhDrQXOy4ej92AYAFx9ygXNDuhMkiG4/LQ=
github.com/v3io/v3io-go v0.0.0-20190303154334-be9e9235107c/go.mod h1:V+1oYgTlLjnAHn0LqAtQ9nTQ9zSIab9XbmoTsrwK9Ro=
github.com/valyala/bytebufferpool v1.0.0 h1:GqA5TC/0021Y/b9FG4Oi9Mr3q7XYx6KllzawFIhcdPw=
github.com/valyala/bytebufferpool v1.0.0/go.mod h1:6bBcMArwyJ5K/AmCkWv1jt77kVWyCJ6HpOuEn7z0Csc=
github.com/valyala/fasthttp v1.2.0 h1:dzZJf2IuMiclVjdw0kkT+f9u4YdrapbNyGAN47E/qnk=
github.com/valyala/fasthttp v1.2.0/go.mod h1:4vX61m6KN+xDduDNwXrhIAVZaZaZiQ1luJk8LWSxF3s=
github.com/valyala/tcplisten v0.0.0-20161114210144-ceec8f93295a/go.mod h1:v3UYOV9WzVtRmSR+PDvWpU/qWl4Wa5LApYYX4ZtKbio=
go.uber.org/atomic v1.3.2 h1:2Oa65PReHzfn29GpvgsYwloV9AVFHPDk8tYxt2c2tr4=
go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=
go.uber.org/multierr v1.1.0 h1:HoEmRHQPVSqub6w2z2d2EOVs2fjyFRGyofhKuyDq0QI=
go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0=
go.uber.org/zap v1.9.1 h1:XCJQEf3W6eZaVwhRBof6ImoYGJSITeKWsyeh3HFu/5o=
go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q=
golang.org/x/net v0.0.0-20180911220305-26e67e76b6c3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
2 changes: 1 addition & 1 deletion pkg/controlplane/test/controlplane_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ package test

import (
"context"
"github.com/v3io/v3io-go/pkg/errors"
"os"
"testing"
"time"

"github.com/v3io/v3io-go/pkg/controlplane"
"github.com/v3io/v3io-go/pkg/controlplane/http"
"github.com/v3io/v3io-go/pkg/errors"

"github.com/nuclio/logger"
"github.com/nuclio/zap"
Expand Down
2 changes: 1 addition & 1 deletion pkg/dataplane/http/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func NewContext(parentLogger logger.Logger, clusterEndpoints []string, numWorker
Addr: strings.Join(hosts, ","),
},
clusterEndpoints: clusterEndpoints,
requestChan: make(chan *v3io.Request, 1024),
requestChan: make(chan *v3io.Request, 1024),
numWorkers: numWorkers,
}

Expand Down
6 changes: 4 additions & 2 deletions pkg/dataplane/test/async_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ package test

import (
"fmt"
"github.com/stretchr/testify/suite"
"github.com/v3io/v3io-go/pkg/dataplane"
"testing"

"github.com/v3io/v3io-go/pkg/dataplane"

"github.com/stretchr/testify/suite"
)

type asyncTestSuite struct {
Expand Down

0 comments on commit cb9d194

Please sign in to comment.