Browse Source

comment for public var

Matthew R. Kasun 2 years ago
parent
commit
1a4fa60bdf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      logic/hosts.go

+ 1 - 0
logic/hosts.go

@@ -10,6 +10,7 @@ import (
 	"golang.org/x/crypto/bcrypt"
 )
 
+// ErrHostExists error indicating that host exists when trying to create new host
 var ErrHostExists error = errors.New("host already exists")
 
 // GetAllHosts - returns all hosts in flat list or error