Skip to content

extends keywords is not #97

@stuartjing

Description

@stuartjing

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions