Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
Signed-off-by: Fabrizio Demaria <[email protected]>
  • Loading branch information
fabriziodemaria committed Sep 9, 2024
1 parent 1af316b commit ed19723
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/confidence/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,20 @@ func NewGeneralResolutionError(msg string) ResolutionError {
}

type APIConfig struct {
APIKey string
APIKey string
APIResolveUrl string
}

func NewAPIConfig(apiKey string) *APIConfig {
return &APIConfig{
APIKey: apiKey,
APIKey: apiKey,
APIResolveUrl: "https://resolver.confidence.dev",
}
}

func NewAPIConfigWithUrl(apiKey, apiResolveUrl string) *APIConfig {
return &APIConfig{
APIKey: apiKey,
APIKey: apiKey,
APIResolveUrl: apiResolveUrl,
}
}
Expand Down

0 comments on commit ed19723

Please sign in to comment.