Correct typo and use Godoc convention in comment.

This commit is contained in:
mattcollier 2017-04-20 12:51:06 -04:00 committed by Matthew Collier
parent d866a62b56
commit b7c2e2d3f1

View file

@ -15,7 +15,7 @@ import (
var singleton *HealthCheck
var once sync.Once
// GetHealthCheck Get HealtchCheck Singleton
// GetHealthCheck returns the health check which is guaranteed to be a singleton.
func GetHealthCheck() *HealthCheck {
once.Do(func() {
singleton = newHealthCheck()