summaryrefslogtreecommitdiff
path: root/tutorial
diff options
context:
space:
mode:
Diffstat (limited to 'tutorial')
-rw-r--r--tutorial/go/Makefile.am8
-rw-r--r--tutorial/go/src/client.go2
-rw-r--r--tutorial/go/src/main.go2
-rw-r--r--tutorial/go/src/server.go2
4 files changed, 7 insertions, 7 deletions
diff --git a/tutorial/go/Makefile.am b/tutorial/go/Makefile.am
index 87a8f5a71..bd57d656f 100644
--- a/tutorial/go/Makefile.am
+++ b/tutorial/go/Makefile.am
@@ -22,15 +22,15 @@ gen-go/tutorial/calculator.go gen-go/shared/shared_service.go: $(top_srcdir)/tut
all-local: gen-go/tutorial/calculator.go
-check: src/git.apache.org/thrift.git/lib/go/thrift thirdparty-dep
+check: src/github.com/apache/thrift/lib/go/thrift thirdparty-dep
$(THRIFT) -r --gen go$(COMPILER_EXTRAFLAG) $(top_srcdir)/tutorial/tutorial.thrift
cp -r gen-go/* src/
GOPATH=`pwd` $(GO) build -o go-tutorial ./src
GOPATH=`pwd` $(GO) build -o calculator-remote src/tutorial/calculator-remote/calculator-remote.go
-src/git.apache.org/thrift.git/lib/go/thrift:
- mkdir -p src/git.apache.org/thrift.git/lib/go
- ln -sf $(realpath $(top_srcdir)/lib/go/thrift) src/git.apache.org/thrift.git/lib/go/thrift
+src/github.com/apache/thrift/lib/go/thrift:
+ mkdir -p src/github.com/apache/thrift/lib/go
+ ln -sf $(realpath $(top_srcdir)/lib/go/thrift) src/github.com/apache/thrift/lib/go/thrift
thirdparty-dep:
diff --git a/tutorial/go/src/client.go b/tutorial/go/src/client.go
index 1d658b954..e3ebe00df 100644
--- a/tutorial/go/src/client.go
+++ b/tutorial/go/src/client.go
@@ -25,7 +25,7 @@ import (
"fmt"
"tutorial"
- "git.apache.org/thrift.git/lib/go/thrift"
+ "github.com/apache/thrift/lib/go/thrift"
)
var defaultCtx = context.Background()
diff --git a/tutorial/go/src/main.go b/tutorial/go/src/main.go
index 63154e3b8..7730d7b32 100644
--- a/tutorial/go/src/main.go
+++ b/tutorial/go/src/main.go
@@ -22,7 +22,7 @@ package main
import (
"flag"
"fmt"
- "git.apache.org/thrift.git/lib/go/thrift"
+ "github.com/apache/thrift/lib/go/thrift"
"os"
)
diff --git a/tutorial/go/src/server.go b/tutorial/go/src/server.go
index e4c4b9707..95708eb87 100644
--- a/tutorial/go/src/server.go
+++ b/tutorial/go/src/server.go
@@ -22,7 +22,7 @@ package main
import (
"crypto/tls"
"fmt"
- "git.apache.org/thrift.git/lib/go/thrift"
+ "github.com/apache/thrift/lib/go/thrift"
"tutorial"
)