func (VS *Server) existCategoryTypeName(name string) bool {
	var ct []CategoryType
	VS.DataBase.Find(&ct, bolthold.Where("Name").Eq(name))
	if len(ct) > 0 {
		return true
	}
	return false
}
// This method returns true is we found a CategoryType with the name provided
This method returns true is we found a CategoryType with the name provided
// This method returns true is we found a CategoryType with the name provided
func (VS *Server) existCategoryTypeName(name string) bool {
	var ct []CategoryType
	VS.DataBase.Find(&ct, bolthold.Where("Name").Eq(name))
	if len(ct) > 0 {
		return true
	}
	return false
}
func ( VS * Server ) existCategoryTypeName ( name string ) bool { var ct [ ] CategoryType VS . DataBase . Find ( & ct , bolthold . Where ( " " ) . Eq ( name ) ) if len ( ct ) > 0 { return true } return false }
This method returns true is we found a CategoryType with the name provided
This method returns true is we found a CategoryType with the name provided