commit | 5785279e2e809f6c56dbbe0eb41d13fb17c88bdd | [log] [tgz] |
---|---|---|
author | John Boiles <johnaboiles@gmail.com> | Fri Jan 05 14:37:05 2018 -0800 |
committer | James E. King III <jking@apache.org> | Mon Mar 12 18:35:17 2018 -0400 |
tree | 902035ba120d0595d5778a7c3e6357c6388cbf6d | |
parent | 3ae304268e1b058dc51642a83921e1d7ce7a1d12 [diff] [blame] |
THRIFT-4448: Golang: do something with context.Context. Remove Go1.6 compatibility. Client: go This closes #1459
diff --git a/tutorial/go/src/handler.go b/tutorial/go/src/handler.go index 783b432..5c0eed0 100644 --- a/tutorial/go/src/handler.go +++ b/tutorial/go/src/handler.go
@@ -1,5 +1,3 @@ -// +build !go1.7 - package main /* @@ -22,12 +20,11 @@ */ import ( + "context" "fmt" "shared" "strconv" "tutorial" - - "golang.org/x/net/context" ) type CalculatorHandler struct {