Skip to content

Quick create empty function or method #2284

@sergeylanzman

Description

@sergeylanzman

Create empty missing Method for struct in struct file.
example:

a.go file 
type A struct{
   d string
}
func(a A) FirstMethod()bool{
    return bool
}


otherfile.go file 
func Otherfunction(){
    a:= A{}
    A.SecondMethod() //---> color red now, add option create Method from here in a.go file
}

If available pass name and type of params this cool 👍

Same scenario for empty create function but in otherfile.go

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions