// Tids return tag ids by tag names
Tids return tag ids by tag names
// Tids return tag ids by tag names
func Tids(names []string) (tids []string) {
	vals := cache.RedisClient.HMGet(cache.TagsKey, names...).Val()
	tids = make([]string, len(vals))
	for i := range tids {
		tids[i] = vals[i].(string)
	}
	return
}
func Tids ( names [ ] string ) ( tids [ ] string ) { vals := cache . RedisClient . HMGet ( cache . TagsKey , names ... ) . Val ( ) tids = make ( [ ] string , len ( vals ) ) for i := range tids { tids [ i ] = vals [ i ] . ( string ) } return }
Tids return tag ids by tag names
Tids return tag ids by tag names