# Extract Method dialog

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/go/llms.txt).

> **TL;DR**
> `Refactor | Extract | Method`
>
>
>
> [Extract Method… shortcut](https://www.jetbrains.com/help/go/llms-keymap-index.md "ExtractMethod")

For more information about extracting a method and check code examples, refer to the [Extract method](https://www.jetbrains.com/help/go/extract-method.html.md) section.

| Item | Description |
| --- | --- |
| Name | In this field, specify the name of the function or method to be generated on the basis of the selected source code. |

## See also

### External Links

[https://blog.jetbrains.com/go/2018/10/26/refactorings-in-goland-extract-and-inline/](https://blog.jetbrains.com/go/2018/10/26/refactorings-in-goland-extract-and-inline/)

