diff --git a/internal/config/defaults.go b/internal/config/defaults.go index 8ee688c..ae40e07 100644 --- a/internal/config/defaults.go +++ b/internal/config/defaults.go @@ -1,6 +1,6 @@ package config -// Default contains the default values when ommited in json +// Default contains the default values when omitted in json var Default = Schema{ Root: ".", Host: "0.0.0.0", diff --git a/internal/config/types.go b/internal/config/types.go index 19818c5..19bae0b 100644 --- a/internal/config/types.go +++ b/internal/config/types.go @@ -33,7 +33,7 @@ type Schema struct { // - the type folder // - whether to load the built-in types // - // types are ommited if not set (no default) + // types are omitted if not set (no default) Types *builder `json:"types,ommitempty"` // Controllers defines : diff --git a/response/response.go b/response/response.go index c4b101f..e54948c 100644 --- a/response/response.go +++ b/response/response.go @@ -17,7 +17,7 @@ func (i *Response) Set(name string, value interface{}) { i.data[name] = value } -// Get gets a reponse field +// Get gets a response field func (i *Response) Get(name string) interface{} { value, _ := i.data[name]