(c *grumble.Context)
| 171 | } |
| 172 | |
| 173 | func SetUnionStore(c *grumble.Context) error { |
| 174 | destinationKey := c.Args.String("destinationKey") |
| 175 | keys := c.Args.StringList("keys") |
| 176 | if destinationKey == "" || len(keys) == 0 { |
| 177 | fmt.Println("destinationKey or keys list is empty") |
| 178 | return nil |
| 179 | } |
| 180 | |
| 181 | err := newClient().SUnionStore(destinationKey, keys) |
| 182 | if err != nil { |
| 183 | fmt.Println("SUnionStore data error: ", err) |
| 184 | return err |
| 185 | } |
| 186 | fmt.Println("SUnionStore success") |
| 187 | return nil |
| 188 | } |
| 189 | |
| 190 | func SetInterStore(c *grumble.Context) error { |
| 191 | destinationKey := c.Args.String("destinationKey") |
nothing calls this directly
no test coverage detected