samuel / go-thrift

A native Thrift package for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

extends keywords is not

stuartjing opened this issue · 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