From 5e7ece3f30d586c3bfe0c9983df5cb7125c87239 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 7 Oct 2018 11:14:54 +0200 Subject: [PATCH] fix mispelled words --- internal/config/defaults.go | 2 +- internal/config/types.go | 2 +- response/response.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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]