func (VS *Server) isUsernameAvailable(username string) bool {
	var users []User
	if err := VS.DataBase.Find(&users, bolthold.Where("Username").Eq(username)); err != nil {
		return false
	}
	if len(users) > 0 {
		return false
	}
	return true
}
// Checks if username is available
Checks if username is available
// Checks if username is available
func (VS *Server) isUsernameAvailable(username string) bool {
	var users []User
	if err := VS.DataBase.Find(&users, bolthold.Where("Username").Eq(username)); err != nil {
		return false
	}
	if len(users) > 0 {
		return false
	}
	return true
}
func ( VS * Server ) isUsernameAvailable ( username string ) bool { var users [ ] User if err := VS . DataBase . Find ( & users , bolthold . Where ( " " ) . Eq ( username ) ) ; err != nil { return false } if len ( users ) > 0 { return false } return true }
Checks if username is available
Checks if username is available