diff --git a/_examples/tutorial/vuejs-todo-mvc/src/todo/service.go b/_examples/tutorial/vuejs-todo-mvc/src/todo/service.go index 3a8f75a6..32e53a2c 100644 --- a/_examples/tutorial/vuejs-todo-mvc/src/todo/service.go +++ b/_examples/tutorial/vuejs-todo-mvc/src/todo/service.go @@ -47,7 +47,7 @@ func (s *MemoryService) Save(newItem Item) error { newItem.ID = s.getLatestID() + 1 } - // full replace here for the shake of simplicy) + // full replace here for the shake of simplicity) s.items[newItem.ID] = newItem return nil } diff --git a/context/context.go b/context/context.go index 498ae57c..8abf8e7f 100644 --- a/context/context.go +++ b/context/context.go @@ -813,7 +813,7 @@ type Context interface { // String returns the string representation of this request. // Each context has a unique string representation. - // It can be used for simple debugging scenarions, i.e print context as string. + // It can be used for simple debugging scenarios, i.e print context as string. // // What it returns? A number which declares the length of the // total `String` calls per executable application, followed @@ -2748,7 +2748,7 @@ func LastCapturedContextID() uint64 { // String returns the string representation of this request. // Each context has a unique string representation. -// It can be used for simple debugging scenarions, i.e print context as string. +// It can be used for simple debugging scenarios, i.e print context as string. // // What it returns? A number which declares the length of the // total `String` calls per executable application, followed diff --git a/core/router/router.go b/core/router/router.go index 05c5af11..805c0df1 100644 --- a/core/router/router.go +++ b/core/router/router.go @@ -83,7 +83,7 @@ func (router *Router) BuildRouter(cPool *context.Pool, requestHandler RequestHan // be aware to change the global variables of 'ParamStart' and 'ParamWildcardStart'. // can be used to implement a custom proxy or // a custom router which should work with raw ResponseWriter, *Request -// instead of the Context(which agaiin, can be retrieved by the Cramework's context pool). +// instead of the Context(which again, can be retrieved by the Framework's context pool). // // Note: Downgrade will by-pass the Wrapper, the caller is responsible for everything. // Downgrade is thread-safe. diff --git a/mvc/controller.go b/mvc/controller.go index d36b4032..9f95fed9 100644 --- a/mvc/controller.go +++ b/mvc/controller.go @@ -44,7 +44,7 @@ var ( ) // ControllerActivator returns a new controller type info description. -// Its functionality can be overriden by the end-dev. +// Its functionality can be overridden by the end-dev. type ControllerActivator struct { // the router is used on the `Activate` and can be used by end-dev on the `BeforeActivation` // to register any custom controller's methods as handlers. diff --git a/mvc/di/di.go b/mvc/di/di.go index adc069ac..f0a7ff1b 100644 --- a/mvc/di/di.go +++ b/mvc/di/di.go @@ -28,14 +28,14 @@ func New() *D { return &D{} } -// Hijack sets a hijacker function, read the `Hijacker` type for more explaination. +// Hijack sets a hijacker function, read the `Hijacker` type for more explanation. func (d *D) Hijack(fn Hijacker) *D { d.hijacker = fn return d } // GoodFunc sets a type checker for a valid function that can be binded, -// read the `TypeChecker` type for more explaination. +// read the `TypeChecker` type for more explanation. func (d *D) GoodFunc(fn TypeChecker) *D { d.goodFunc = fn return d diff --git a/mvc/di/func.go b/mvc/di/func.go index e80d59cf..629c8b01 100644 --- a/mvc/di/func.go +++ b/mvc/di/func.go @@ -13,7 +13,7 @@ type ( FuncInjector struct { // the original function, is being used - // only the .Call, which is refering to the same function, always. + // only the .Call, which is referring to the same function, always. fn reflect.Value inputs []*targetFuncInput diff --git a/mvc/mvc.go b/mvc/mvc.go index 44abd864..4f127df3 100644 --- a/mvc/mvc.go +++ b/mvc/mvc.go @@ -3,7 +3,7 @@ package mvc import "github.com/kataras/iris/core/router" // Application is the high-level compoment of the "mvc" package. -// It's the API that you will be using to register controllers among wih their +// It's the API that you will be using to register controllers among with their // dependencies that your controllers may expecting. // It contains the Router(iris.Party) in order to be able to register // template layout, middleware, done handlers as you used with the diff --git a/mvc/session.go b/mvc/session.go index b09c764f..c1e00964 100644 --- a/mvc/session.go +++ b/mvc/session.go @@ -9,7 +9,7 @@ import ( // a different folder like "bindings" // so it will be used as .Bind(bindings.Session(manager)) // or let it here but change the rest of the binding names as well -// because they are not "binders", their result are binders to be percise. +// because they are not "binders", their result are binders to be precise. func Session(sess *sessions.Sessions) func(context.Context) *sessions.Session { return func(ctx context.Context) *sessions.Session { return sess.Start(ctx)