Skip to content

Structure doesn't show some methods #2030

Open
@zolotov

Description

@zolotov

For two files in different packages:

package package1

type myType int
package package2

func (s *myType) Hello() {

}

s.Hello is not appeared in structure popup.

For two files from the same package:

package main

type myType int
package main

func (s *myType) Hello() {

}

Hello method will be show only with show package structure checkbox enabled

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions