This commit is contained in:
thinkerou 2018-06-21 22:37:01 +08:00 committed by Bo-Yi Wu
parent acaeb9d8d7
commit 8806dc0b5d
2 changed files with 2 additions and 2 deletions

View File

@ -6,8 +6,8 @@ import (
"net/http"
"github.com/gin-gonic/gin"
"google.golang.org/grpc"
pb "github.com/gin-gonic/gin/examples/grpc/pb"
"google.golang.org/grpc"
)
func main() {

View File

@ -4,10 +4,10 @@ import (
"log"
"net"
pb "github.com/gin-gonic/gin/examples/grpc/pb"
"golang.org/x/net/context"
"google.golang.org/grpc"
"google.golang.org/grpc/reflection"
pb "github.com/gin-gonic/gin/examples/grpc/pb"
)
// server is used to implement helloworld.GreeterServer.