Skip to content

mirror-transformations for function creation #2

@hhirsch

Description

@hhirsch

Just wanted to put this out there. I think a transformation like this saves some typing.

func (${1:structName} *${1:$(upcase-initials yas-text)}) ${2:FunctionName} () error {
$0
return nil
}

Last update in the repo was 12 years ago I think. So not sure if you are still actively using/developing it.

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