diff --git a/README.md b/README.md index a265db9..a93a10c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![GoDoc](https://godoc.org/github.com/golobby/container?status.svg)](https://godoc.org/github.com/golobby/container) [![Build Status](https://travis-ci.org/golobby/container.svg?branch=master)](https://travis-ci.org/golobby/container) [![Coverage State](https://coveralls.io/repos/github/golobby/container/badge.svg?branch=master)](https://coveralls.io/github/golobby/container) diff --git a/container.go b/container.go index a92b094..a0f04c3 100644 --- a/container.go +++ b/container.go @@ -66,7 +66,7 @@ func Transient(resolverFunction interface{}) { // Make will resolve the dependency and return the concrete of given abstraction. // It takes a function (receiver) with one or more arguments of the abstractions (interfaces) that need to be resolved, -// the Container invokes the receiver function and pass the related concretes +// the Container invokes the receiver function and pass the related concretes. func Make(receiverFunction interface{}) { if reflect.TypeOf(receiverFunction).Kind() != reflect.Func { panic("the argument (receiver) passed to Make() is not a function")