Explorar o código

comment for public var

Matthew R. Kasun %!s(int64=2) %!d(string=hai) anos
pai
achega
1a4fa60bdf
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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