# GoFeatureFlagBuilderExtensions

- Kind: `class`
- Package: [CommunityToolkit.Aspire.Hosting.GoFeatureFlag](/reference/api/csharp/communitytoolkit.aspire.hosting.gofeatureflag.md)
- Version: `13.4.0`
- Namespace: `Aspire.Hosting`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.Hosting.GoFeatureFlag/GoFeatureFlagBuilderExtensions.cs)

Provides extension methods for adding GO Feature Flag resources to the application model.

## Definition

```csharp
namespace Aspire.Hosting;

public static class GoFeatureFlagBuilderExtensions
{
    // ...
}
```

## Methods

- [AddGoFeatureFlag(IDistributedApplicationBuilder, string, string?, int?)](/reference/api/csharp/communitytoolkit.aspire.hosting.gofeatureflag/gofeatureflagbuilderextensions/methods.md#addgofeatureflag-idistributedapplicationbuilder-string-string-int) : `IResourceBuilder<GoFeatureFlagResource>` `extension` `ats export` -- Adds an GO Feature Flag container resource to the application model. The default image is and the tag is .
- [WithDataVolume(IResourceBuilder<GoFeatureFlagResource>, string?)](/reference/api/csharp/communitytoolkit.aspire.hosting.gofeatureflag/gofeatureflagbuilderextensions/methods.md#withdatavolume-iresourcebuilder-gofeatureflagresource-string) : `IResourceBuilder<GoFeatureFlagResource>` `extension` `ats export` -- Adds a named volume for the data folder to a GO Feature flag container resource.
- [WithGoffBindMount(IResourceBuilder<GoFeatureFlagResource>, string)](/reference/api/csharp/communitytoolkit.aspire.hosting.gofeatureflag/gofeatureflagbuilderextensions/methods.md#withgoffbindmount-iresourcebuilder-gofeatureflagresource-string) : `IResourceBuilder<GoFeatureFlagResource>` `extension` `ats export` -- Adds a bind mount for the goff configuration folder to a GO Feature flag container resource.
- [WithLogLevel(IResourceBuilder<GoFeatureFlagResource>, LogLevel)](/reference/api/csharp/communitytoolkit.aspire.hosting.gofeatureflag/gofeatureflagbuilderextensions/methods.md#withloglevel-iresourcebuilder-gofeatureflagresource-loglevel) : `IResourceBuilder<GoFeatureFlagResource>` `extension` `ats ignored` -- Configures logging level for the GO Feature Flag container resource.
