fix mispelled words
This commit is contained in:
parent
d590d31327
commit
5e7ece3f30
|
@ -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",
|
||||
|
|
|
@ -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 :
|
||||
|
|
|
@ -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]
|
||||
|
||||
|
|
Loading…
Reference in New Issue