fix mispelled words

This commit is contained in:
Adrien Marquès 2018-10-07 11:14:54 +02:00
parent d590d31327
commit 5e7ece3f30
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
package config package config
// Default contains the default values when ommited in json // Default contains the default values when omitted in json
var Default = Schema{ var Default = Schema{
Root: ".", Root: ".",
Host: "0.0.0.0", Host: "0.0.0.0",

View File

@ -33,7 +33,7 @@ type Schema struct {
// - the type folder // - the type folder
// - whether to load the built-in types // - 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"` Types *builder `json:"types,ommitempty"`
// Controllers defines : // Controllers defines :

View File

@ -17,7 +17,7 @@ func (i *Response) Set(name string, value interface{}) {
i.data[name] = value i.data[name] = value
} }
// Get gets a reponse field // Get gets a response field
func (i *Response) Get(name string) interface{} { func (i *Response) Get(name string) interface{} {
value, _ := i.data[name] value, _ := i.data[name]