(ctx context.Context, serviceId string, data *Doc)
| 37 | } |
| 38 | |
| 39 | func (i *imlDocService) CommitDoc(ctx context.Context, serviceId string, data *Doc) error { |
| 40 | return i.commitService.Save(ctx, serviceId, &DocCommit{Content: data.Doc}) |
| 41 | } |
| 42 | |
| 43 | func (i *imlDocService) List(ctx context.Context, sids ...string) ([]*Doc, error) { |
| 44 | w := map[string]interface{}{} |