# GetChildren

- Module: [Aspire.Hosting](/reference/api/go/aspire.hosting.md)
- Version: `17.0.0`
- Kind: `method`
- Defined on: [`Configuration`](/reference/api/go/aspire.hosting/configuration.md)
- Source: [GitHub](https://github.com/microsoft/aspire/tree/bcfa151cdca6d0a573f22d5d9c23f9c727cb3b2f)

Gets the child sections of a configuration handle.

## Definition

```go
func (Configuration) GetChildren() ([]ConfigurationSection, error)
```

## Returns

`([]ConfigurationSection, error)` -- The child sections.

Returns `([]ConfigurationSection, error)`.

## Applies to

- [`Configuration`](/reference/api/go/aspire.hosting/configuration.md)
