Skip to content

Commit

Permalink
switch to us spelling (for consistency with vendor packages)
Browse files Browse the repository at this point in the history
  • Loading branch information
reubenmiller committed Jan 17, 2024
1 parent 07ecd4e commit 1320fad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/microservice/configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type Configuration struct {
viper *viper.Viper
}

// InitConfiguration initialises the configuration (i.e. reads from file / environment variables)
// InitConfiguration initializes the configuration (i.e. reads from file / environment variables)
func (c *Configuration) InitConfiguration() {
config := c.viper
config.SetConfigName("application")
Expand Down
2 changes: 1 addition & 1 deletion pkg/microservice/microservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func NewDefaultMicroservice(opts Options) *Microservice {
}

// NewMicroservice create a new microservice where the user can customize the http client and the host
// This function will not initialise the logger (.InitializeLogger()) nor call .Config.InitConfiguration(), it
// This function will not initialize the logger (.InitializeLogger()) nor call .Config.InitConfiguration(), it
// is up to the user to call these functions
func NewMicroservice(httpClient *http.Client, host string, skipRealtimeClient bool) *Microservice {
return &Microservice{
Expand Down

0 comments on commit 1320fad

Please sign in to comment.