(c *grumble.Context)
| 188 | } |
| 189 | |
| 190 | func SetInterStore(c *grumble.Context) error { |
| 191 | destinationKey := c.Args.String("destinationKey") |
| 192 | keys := c.Args.StringList("keys") |
| 193 | if destinationKey == "" || len(keys) == 0 { |
| 194 | fmt.Println("destinationKey or keys list is empty") |
| 195 | return nil |
| 196 | } |
| 197 | |
| 198 | err := newClient().SInterStore(destinationKey, keys) |
| 199 | if err != nil { |
| 200 | fmt.Println("SInterStore data error: ", err) |
| 201 | return err |
| 202 | } |
| 203 | fmt.Println("SInterStore success") |
| 204 | return nil |
| 205 | } |
nothing calls this directly
no test coverage detected