Skip to content

Commit 42479ee

Browse files
committed
Update module path
- from 'git.fd.io/govpp.git' to 'github.com/alkiranet/govpp'
1 parent f049390 commit 42479ee

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+124
-119
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ language: go
55
go:
66
- "1.13.x"
77

8-
go_import_path: git.fd.io/govpp.git
8+
go_import_path: github.com/alkiranet/govpp
99

1010
env:
1111
global:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ sudo dpkg -i vpp*.deb
113113
To build & install GoVPP:
114114

115115
```sh
116-
go get -u git.fd.io/govpp.git
117-
cd $GOPATH/src/git.fd.io/govpp.git
116+
go get -u github.com/alkiranet/govpp
117+
cd $GOPATH/src/github.com/alkiranet/govpp
118118
make test
119119
make install
120120
```

adapter/mock/mock_stats_adapter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
package mock
1919

2020
import (
21-
"git.fd.io/govpp.git/adapter"
21+
"github.com/alkiranet/govpp/adapter"
2222
)
2323

2424
// implements StatsAPI

adapter/mock/mock_vpp_adapter.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ import (
2222
"reflect"
2323
"sync"
2424

25-
"git.fd.io/govpp.git/adapter"
26-
"git.fd.io/govpp.git/adapter/mock/binapi"
27-
"git.fd.io/govpp.git/api"
28-
"git.fd.io/govpp.git/codec"
25+
"github.com/alkiranet/govpp/adapter"
26+
"github.com/alkiranet/govpp/adapter/mock/binapi"
27+
"github.com/alkiranet/govpp/api"
28+
"github.com/alkiranet/govpp/codec"
2929
"github.com/lunixbochs/struc"
3030
)
3131

@@ -374,7 +374,7 @@ func (a *VppAdapter) MockReplyHandler(replyHandler ReplyHandler) {
374374

375375
// MockClearReplyHanders clears all reply handlers that were registered
376376
// Will also set the mode to useReplyHandlers
377-
func (a *VppAdapter) MockClearReplyHandlers () {
377+
func (a *VppAdapter) MockClearReplyHandlers() {
378378
a.repliesLock.Lock()
379379
defer a.repliesLock.Unlock()
380380

adapter/socketclient/binapi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package socketclient
22

33
import (
4-
"git.fd.io/govpp.git/api"
4+
"github.com/alkiranet/govpp/api"
55
)
66

77
// MessageTableEntry represents VPP binary API type 'message_table_entry'.

adapter/socketclient/socketclient.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ import (
3030
"github.com/lunixbochs/struc"
3131
logger "github.com/sirupsen/logrus"
3232

33-
"git.fd.io/govpp.git/adapter"
34-
"git.fd.io/govpp.git/codec"
33+
"github.com/alkiranet/govpp/adapter"
34+
"github.com/alkiranet/govpp/codec"
3535
)
3636

3737
const (

adapter/statsclient/stat_segment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
"github.com/ftrvxmtrx/fd"
2424

25-
"git.fd.io/govpp.git/adapter"
25+
"github.com/alkiranet/govpp/adapter"
2626
)
2727

2828
var (

adapter/statsclient/statsclient.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
logger "github.com/sirupsen/logrus"
2525

26-
"git.fd.io/govpp.git/adapter"
26+
"github.com/alkiranet/govpp/adapter"
2727
)
2828

2929
const (

adapter/vppapiclient/stat_client.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build !windows && !darwin && !novpp && !beyond18.10
1516
// +build !windows,!darwin,!novpp,!beyond18.10
1617

1718
package vppapiclient
@@ -29,7 +30,7 @@ import (
2930
"os"
3031
"unsafe"
3132

32-
"git.fd.io/govpp.git/adapter"
33+
"github.com/alkiranet/govpp/adapter"
3334
)
3435

3536
// global VPP stats API client, library vppapiclient only supports

adapter/vppapiclient/stat_client_stub.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build windows || darwin || novpp
1516
// +build windows darwin novpp
1617

1718
package vppapiclient
1819

1920
import (
20-
"git.fd.io/govpp.git/adapter"
21+
"github.com/alkiranet/govpp/adapter"
2122
)
2223

2324
// stubStatClient is just an stub adapter that does nothing. It builds only on Windows and OSX, where the real

0 commit comments

Comments
 (0)