go-thrift icon indicating copy to clipboard operation
go-thrift copied to clipboard

extends keywords is not

Open stuartjing opened this issue 8 years ago • 0 comments

IDL: service Calculator extends shared.SharedService

is generate GO: type Calculator interface { Shared.SharedService Add(num1 int32, num2 int32) (int32, error) Calculate(logid int32, w *Work) (int32, error) Ping() error }

this Shared.SharedService is upper so in this code is not run.

tutorial

.\tutorial.go:7: imported and not used: "shared" .\tutorial.go:90: Shared is not a package .\tutorial.go:90: undefined: SharedService .\tutorial.go:97: Shared is not a package .\tutorial.go:149: Shared is not a package

stuartjing avatar Dec 27 '16 08:12 stuartjing