Correct typo and use Godoc convention in comment.
This commit is contained in:
parent
d866a62b56
commit
b7c2e2d3f1
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue