Skip to main content

How to set a Namespace for a Temporal Client in Go

Set the Namespace field on an instance of the Client Options.

// ...
clientOptions := client.Options{
Namespace: "your-custom-namespace",
}
temporalClient, err := client.Dial(clientOptions)
// ...