Documentation
¶
Index ¶
- func CreateTestDir() string
- func StubTestCodeStore(t *testing.T, codeBackend CodeStore, fileBackend FileStore, ...)
- func StubTestStore(t *testing.T, fileBackend FileStore, projectId ProjectId)
- type Code
- type CodeContainer
- type CodeId
- type CodeMap
- type CodeParentIdMap
- type CodeStore
- type ContainerId
- type DocumentText
- type File
- type FileId
- type FileStore
- type FileType
- type Project
- type ProjectId
- type ProjectStore
- type TextId
- type WordCoordinate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTestDir ¶
func CreateTestDir() string
func StubTestCodeStore ¶
Types ¶
type CodeContainer ¶
type CodeContainer = swagger.CodeContainer
type CodeParentIdMap ¶
type CodeStore ¶
type CodeStore interface { CreateContainer(id ProjectId) (ContainerId, error) CreateCode(name string, containerId ContainerId) (CodeId, error) CodifyText(codeId CodeId, documentId FileId, text string, firstWord WordCoordinate, lastWord WordCoordinate) (TextId, error) DeleteText(textId TextId) error GetCode(codeId CodeId) (Code, error) GetContainer(codeId ContainerId) (CodeContainer, error) GetContainers(id ProjectId) ([]CodeContainer, error) }
type ContainerId ¶
type ContainerId = int64
type DocumentText ¶
type DocumentText = swagger.DocumentText
type ProjectStore ¶
type WordCoordinate ¶
type WordCoordinate = swagger.WordCoordinate
Click to show internal directories.
Click to hide internal directories.