// Create create tag if not exist
Create create tag if not exist
// Create create tag if not exist
func Create(name string) (tid string) {
	cache.RedisClient.HSetNX(cache.TagsKey, name, uuid.New().String())
	tid = cache.RedisClient.HGet(cache.TagsKey, name).Val()
	cache.RedisClient.HSetNX(cache.TagKey(tid), "name", name)
	return
}
func Create ( name string ) ( tid string ) { cache . RedisClient . HSetNX ( cache . TagsKey , name , uuid . New ( ) . String ( ) ) tid = cache . RedisClient . HGet ( cache . TagsKey , name ) . Val ( ) cache . RedisClient . HSetNX ( cache . TagKey ( tid ) , " " , name ) return }
Create create tag if not exist
Create create tag if not exist