(text string, index int64, tabID string)
| 107 | } |
| 108 | |
| 109 | func BuildInsertRequest(text string, index int64, tabID string) *docs.Request { |
| 110 | return &docs.Request{InsertText: &docs.InsertTextRequest{ |
| 111 | Location: &docs.Location{Index: index, TabId: tabID}, |
| 112 | Text: text, |
| 113 | }} |
| 114 | } |
| 115 | |
| 116 | func BuildDeleteRequest(target Range, tabID string) *docs.Request { |
| 117 | return &docs.Request{DeleteContentRange: &docs.DeleteContentRangeRequest{ |
no outgoing calls