go-thrift
go-thrift copied to clipboard
extends keywords is not
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